aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/searchhl_spec.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-07-24 02:50:24 +0200
committerGitHub <noreply@github.com>2019-07-24 02:50:24 +0200
commit8fc93241d680f7c73e3013d679adb70c09cb3d57 (patch)
treee4350cbf9d3e316d1081500fdbd8dcfdeaaaf407 /test/functional/ui/searchhl_spec.lua
parentb59a1f7b52dee7fb8fe8e4e786d4dd080d789245 (diff)
downloadrneovim-8fc93241d680f7c73e3013d679adb70c09cb3d57.tar.gz
rneovim-8fc93241d680f7c73e3013d679adb70c09cb3d57.tar.bz2
rneovim-8fc93241d680f7c73e3013d679adb70c09cb3d57.zip
tests: fix/improve Screen:expect_unchanged (#10577)
Do not sleep before collecting initial state. Ref: https://github.com/neovim/neovim/pull/10550#issuecomment-513670205
Diffstat (limited to 'test/functional/ui/searchhl_spec.lua')
-rw-r--r--test/functional/ui/searchhl_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/searchhl_spec.lua b/test/functional/ui/searchhl_spec.lua
index 9ce26eb788..486de02a09 100644
--- a/test/functional/ui/searchhl_spec.lua
+++ b/test/functional/ui/searchhl_spec.lua
@@ -158,6 +158,7 @@ describe('search highlighting', function()
bar foo baz
]])
feed('/foo')
+ helpers.wait()
screen:expect_unchanged()
end)