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/core/job_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/core') diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index 4a21444ee0..feb9c9aeaa 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -417,7 +417,7 @@ describe('jobs', function() \ }) ]]) - screen:expect("{2:E120: Using not in a script context: s:OnEvent}",nil,nil,nil,true) + screen:expect{any="{2:E120: Using not in a script context: s:OnEvent}"} end) it('does not repeat output with slow output handlers', function() -- cgit