diff options
author | Jon Huhn <nojnhuh@users.noreply.github.com> | 2023-03-26 04:41:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 10:41:27 +0100 |
commit | 6a6191174afd7604b82fcc04b9a27b8d51133c9f (patch) | |
tree | c1dc59db706eef980c6ca52ce920f4bb299d00c7 /test/functional/lua | |
parent | 4863ca6b8902c5b0aab95f2af640118cd417d379 (diff) | |
download | rneovim-6a6191174afd7604b82fcc04b9a27b8d51133c9f.tar.gz rneovim-6a6191174afd7604b82fcc04b9a27b8d51133c9f.tar.bz2 rneovim-6a6191174afd7604b82fcc04b9a27b8d51133c9f.zip |
test: fix flaky watchfiles tests (#22637)
Diffstat (limited to 'test/functional/lua')
-rw-r--r-- | test/functional/lua/watch_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/lua/watch_spec.lua b/test/functional/lua/watch_spec.lua index 19bb411ce6..554480c2b3 100644 --- a/test/functional/lua/watch_spec.lua +++ b/test/functional/lua/watch_spec.lua @@ -126,6 +126,8 @@ describe('vim._watch', function() expected_events = expected_events + 1 wait_for_events() + vim.wait(100) + local watched_path = root_dir .. '/file' local watched, err = io.open(watched_path, 'w') assert(not err, err) |