Mercurial > vim
comparison src/testdir/test_jumplist.vim @ 26532:255bc9a08e58 v8.2.3795
patch 8.2.3795: too many #ifdefs
Commit: https://github.com/vim/vim/commit/739f13a55b4982efb37ebc9282e7f79975fff982
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 13:12:53 2021 +0000
patch 8.2.3795: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 14:15:03 +0100 |
parents | 08940efa6b4e |
children | 320991d9812e |
comparison
equal
deleted
inserted
replaced
26531:b8398b0fb0ed | 26532:255bc9a08e58 |
---|---|
1 " Tests for the jumplist functionality | 1 " Tests for the jumplist functionality |
2 | |
3 source check.vim | |
4 | 2 |
5 " Tests for the getjumplist() function | 3 " Tests for the getjumplist() function |
6 func Test_getjumplist() | 4 func Test_getjumplist() |
7 CheckFeature jumplist | |
8 | |
9 %bwipe | 5 %bwipe |
10 clearjumps | 6 clearjumps |
11 call assert_equal([[], 0], getjumplist()) | 7 call assert_equal([[], 0], getjumplist()) |
12 call assert_equal([[], 0], getjumplist(1)) | 8 call assert_equal([[], 0], getjumplist(1)) |
13 call assert_equal([[], 0], getjumplist(1, 1)) | 9 call assert_equal([[], 0], getjumplist(1, 1)) |