diff src/testdir/test_filechanged.vim @ 16754:8b92f3fea477 v8.1.1379

patch 8.1.1379: filechanged test hangs commit https://github.com/vim/vim/commit/8239c62067c8d40720560496b25a82662126f2a2 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 16:46:01 2019 +0200 patch 8.1.1379: filechanged test hangs Problem: Filechanged test hangs. Solution: Do not check 'autoread'.
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 17:00:05 +0200
parents 1a441c73adbc
children 0da9bc55c31a
line wrap: on
line diff
--- a/src/testdir/test_filechanged.vim
+++ b/src/testdir/test_filechanged.vim
@@ -115,8 +115,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')