mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3534: autoread test is a bit flaky
Problem: Autoread test is a bit flaky.
Solution: Wait a brief moment before overwriting the file.
944eeb44fb
This commit is contained in:
parent
0f1c705936
commit
b2606673cc
@ -105,7 +105,8 @@ func Test_autoread_fast()
|
||||
setlocal autoread
|
||||
call setline(1, 'foo')
|
||||
w!
|
||||
silent !echo bar > Xautoread
|
||||
sleep 10m
|
||||
call writefile(['bar'], 'Xautoread')
|
||||
sleep 10m
|
||||
checktime
|
||||
call assert_equal('bar', trim(getline(1)))
|
||||
|
Loading…
Reference in New Issue
Block a user