mirror of
https://github.com/neovim/neovim.git
synced 2025-12-04 21:52:41 +00:00
tests: introduce screen:expect{...} form
This commit is contained in:
@@ -43,7 +43,7 @@ describe("CTRL-C (mapped)", function()
|
||||
feed(":global/^/p<CR>")
|
||||
screen:sleep(ms)
|
||||
feed("<C-C>")
|
||||
screen:expect([[Interrupt]], nil, nil, nil, true)
|
||||
screen:expect{any="Interrupt"}
|
||||
end
|
||||
|
||||
-- The test is time-sensitive. Try different sleep values.
|
||||
|
||||
Reference in New Issue
Block a user