mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 10:01:49 +00:00
test: make expect_unchanged() less confusing (#22255)
Problem: The sleep before collecting the initial screen state is confusing and may lead to unexpected success if it comes after a blocking RPC call. Solution: Remove that sleep and add an "intermediate" argument.
This commit is contained in:
@@ -317,6 +317,7 @@ describe('search highlighting', function()
|
||||
]])
|
||||
feed('/foo')
|
||||
helpers.poke_eventloop()
|
||||
screen:sleep(0)
|
||||
screen:expect_unchanged()
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user