aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-12-25 18:01:12 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-12-25 18:01:17 -0500
commit57337e681473bbb61ac6278a0b929b2edfcb9dce (patch)
tree0db119bc6ae19328047367414d3e1a917e860c10
parent2f1e6ca7730b78fa6f725914baec09dab2c411f4 (diff)
downloadrneovim-57337e681473bbb61ac6278a0b929b2edfcb9dce.tar.gz
rneovim-57337e681473bbb61ac6278a0b929b2edfcb9dce.tar.bz2
rneovim-57337e681473bbb61ac6278a0b929b2edfcb9dce.zip
vim-patch:8.1.1379: filechanged test hangs
Problem: Filechanged test hangs. Solution: Do not check 'autoread'. https://github.com/vim/vim/commit/8239c62067c8d40720560496b25a82662126f2a2
-rw-r--r--src/nvim/testdir/test_filechanged.vim3
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')