diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-03-07 21:23:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-07 21:23:40 +0800 |
| commit | 7a462c10d522e1b650979e810ad3b137224bb2b0 (patch) | |
| tree | c958b46244b7008bd61de3b8150ccf6cdabb4f1d /test/old/testdir/test_normal.vim | |
| parent | 1637bcce7ba52c4c5c451308f8a3adfedde18a2a (diff) | |
| parent | 08d0f99ae122b21e9470d58224edd69d1615ee3d (diff) | |
| download | rneovim-7a462c10d522e1b650979e810ad3b137224bb2b0.tar.gz rneovim-7a462c10d522e1b650979e810ad3b137224bb2b0.tar.bz2 rneovim-7a462c10d522e1b650979e810ad3b137224bb2b0.zip | |
Merge pull request #22558 from zeertzjq/vim-8.2.3969
Diffstat (limited to 'test/old/testdir/test_normal.vim')
| -rw-r--r-- | test/old/testdir/test_normal.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/old/testdir/test_normal.vim b/test/old/testdir/test_normal.vim index 48e6bc5298..ca91ab2ceb 100644 --- a/test/old/testdir/test_normal.vim +++ b/test/old/testdir/test_normal.vim @@ -921,7 +921,7 @@ func Test_normal14_page() set nostartofline exe "norm! $\<c-b>" call assert_equal('92', getline('.')) - call assert_equal([0, 92, 2, 0, 2147483647], getcurpos()) + call assert_equal([0, 92, 2, 0, v:maxcol], getcurpos()) " cleanup set startofline bw! @@ -966,7 +966,7 @@ func Test_normal15_z_scroll_vert() norm! >>$ztzb call assert_equal(' 30', getline('.')) call assert_equal(30, winsaveview()['topline']+winheight(0)-1) - call assert_equal([0, 30, 3, 0, 2147483647], getcurpos()) + call assert_equal([0, 30, 3, 0, v:maxcol], getcurpos()) " Test for z- 1 @@ -2917,7 +2917,7 @@ func Test_normal36_g_cmd5() call assert_equal([0, 14, 1, 0, 1], getcurpos()) " count > buffer content norm! 120go - call assert_equal([0, 14, 1, 0, 2147483647], getcurpos()) + call assert_equal([0, 14, 1, 0, v:maxcol], getcurpos()) " clean up bw! endfunc @@ -3097,7 +3097,7 @@ func Test_normal42_halfpage() set nostartofline exe "norm! $\<c-u>" call assert_equal('95', getline('.')) - call assert_equal([0, 95, 2, 0, 2147483647], getcurpos()) + call assert_equal([0, 95, 2, 0, v:maxcol], getcurpos()) " cleanup set startofline bw! |