From 3d88287e3016aacae64e2ddcd11a37e024557e45 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Mon, 20 Aug 2018 18:51:25 +0200 Subject: tests: introduce screen:expect{...} form --- test/functional/ex_cmds/ctrl_c_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/ex_cmds') diff --git a/test/functional/ex_cmds/ctrl_c_spec.lua b/test/functional/ex_cmds/ctrl_c_spec.lua index 8f76099f79..4c5383b712 100644 --- a/test/functional/ex_cmds/ctrl_c_spec.lua +++ b/test/functional/ex_cmds/ctrl_c_spec.lua @@ -43,7 +43,7 @@ describe("CTRL-C (mapped)", function() feed(":global/^/p") screen:sleep(ms) feed("") - screen:expect([[Interrupt]], nil, nil, nil, true) + screen:expect{any="Interrupt"} end -- The test is time-sensitive. Try different sleep values. -- cgit