diff options
-rw-r--r-- | src/nvim/testdir/test_filechanged.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_filechanged.vim b/src/nvim/testdir/test_filechanged.vim index aa328f130e..b95cd5faf8 100644 --- a/src/nvim/testdir/test_filechanged.vim +++ b/src/nvim/testdir/test_filechanged.vim @@ -116,8 +116,9 @@ func Test_file_changed_dialog() call assert_match('E211:', v:warningmsg) call assert_equal(2, line('$')) call assert_equal('extra line', getline(2)) + let v:warningmsg = 'empty' - " Recreate buffer and reload + " change buffer, recreate the file and reload call setline(1, 'buffer is changed') silent !echo 'new line' >Xchanged_d call feedkeys('L', 'L') |