From 28b5a637b57040c0e045cb2ad57bdfbd3881c8cb Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 21 Sep 2018 22:13:07 +0200 Subject: [PATCH] test/old: test_options: Accommodate Nvim default --- src/nvim/testdir/test_options.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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