diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 14:17:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-05 14:17:06 +0800 |
| commit | 86fe2c8d94d212af098002ce04c87fb73fdf9c52 (patch) | |
| tree | f48445ed4f2cb998a56ef56709ef4a87c8411e0d /src/nvim/testdir/test_eval_stuff.vim | |
| parent | a86295cd5c2bf15a11eb05e226fd8e226154f6a6 (diff) | |
| parent | 6956971ec790e636b16eeaec798c826515da9834 (diff) | |
| download | rneovim-86fe2c8d94d212af098002ce04c87fb73fdf9c52.tar.gz rneovim-86fe2c8d94d212af098002ce04c87fb73fdf9c52.tar.bz2 rneovim-86fe2c8d94d212af098002ce04c87fb73fdf9c52.zip | |
Merge pull request #20941 from zeertzjq/vim-8.2.1183
vim-patch:8.2.{partial:1183,1184,1199,1479,1484,1631,1632}: assert_fails() patches
Diffstat (limited to 'src/nvim/testdir/test_eval_stuff.vim')
| -rw-r--r-- | src/nvim/testdir/test_eval_stuff.vim | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim index 851048ec5b..46482c34a1 100644 --- a/src/nvim/testdir/test_eval_stuff.vim +++ b/src/nvim/testdir/test_eval_stuff.vim @@ -20,13 +20,8 @@ func Test_nocatch_restore_silent_emsg() throw 1 catch endtry - echoerr 'wrong' - let c1 = nr2char(screenchar(&lines, 1)) - let c2 = nr2char(screenchar(&lines, 2)) - let c3 = nr2char(screenchar(&lines, 3)) - let c4 = nr2char(screenchar(&lines, 4)) - let c5 = nr2char(screenchar(&lines, 5)) - call assert_equal('wrong', c1 . c2 . c3 . c4 . c5) + echoerr 'wrong again' + call assert_equal('wrong again', ScreenLine(&lines)) endfunc func Test_mkdir_p() |