aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_options.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-05 20:05:18 +0800
committerGitHub <noreply@github.com>2023-05-05 20:05:18 +0800
commitc14aa66cce679e6ff4343401e448d47413660b0c (patch)
treee1f359d22125f4b6c046d66b2595a70db7989ef2 /test/old/testdir/test_options.vim
parentd9f0d2da4d29847542072099f103e7248fcacaab (diff)
parentc11417b3d74f02568e37ea3370a7c24141d4f18a (diff)
downloadrneovim-c14aa66cce679e6ff4343401e448d47413660b0c.tar.gz
rneovim-c14aa66cce679e6ff4343401e448d47413660b0c.tar.bz2
rneovim-c14aa66cce679e6ff4343401e448d47413660b0c.zip
Merge pull request #23487 from zeertzjq/vim-8.2.1953
vim-patch:8.2.1953,9.0.{0213,0404,0543,0846,0854,1507}: assert fixes
Diffstat (limited to 'test/old/testdir/test_options.vim')
-rw-r--r--test/old/testdir/test_options.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/old/testdir/test_options.vim b/test/old/testdir/test_options.vim
index 8fc86a99e3..cf8bf1903f 100644
--- a/test/old/testdir/test_options.vim
+++ b/test/old/testdir/test_options.vim
@@ -894,8 +894,6 @@ endfunc
func Test_shortmess_F2()
e file1
e file2
- " Accommodate Nvim default.
- set shortmess-=F
call assert_match('file1', execute('bn', ''))
call assert_match('file2', execute('bn', ''))
set shortmess+=F
@@ -913,12 +911,12 @@ func Test_shortmess_F2()
" call assert_false(test_getvalue('need_fileinfo'))
call assert_true(empty(execute('bn', '')))
" call assert_false(test_getvalue('need_fileinfo'))
- " Accommodate Nvim default.
- set shortmess-=F
+ set shortmess-=F " Accommodate Nvim default.
call assert_match('file1', execute('bn', ''))
call assert_match('file2', execute('bn', ''))
bwipe
bwipe
+ " call assert_fails('call test_getvalue("abc")', 'E475:')
endfunc
func Test_local_scrolloff()