aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/testdir/test_options.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index 921e9fd9f4..3e0703f845 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -359,6 +359,8 @@ 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
@@ -370,7 +372,8 @@ func Test_shortmess_F2()
set nohidden
call assert_true(empty(execute('bn', '')))
call assert_true(empty(execute('bn', '')))
- set shortmess&
+ " Accommodate Nvim default.
+ set shortmess-=F
call assert_match('file1', execute('bn', ''))
call assert_match('file2', execute('bn', ''))
bwipe