summaryrefslogtreecommitdiff
path: root/test/definition/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/definition/init.lua')
-rw-r--r--test/definition/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/definition/init.lua b/test/definition/init.lua
index 98e97df5..3badaadf 100644
--- a/test/definition/init.lua
+++ b/test/definition/init.lua
@@ -34,9 +34,9 @@ function TEST(script)
positions[i] = { result.target.start, result.target.finish }
end
end
- assert(founded(catched['!'] or {}, positions))
+ assert(founded(catched['!'], positions))
else
- assert(catched['!'] == nil)
+ assert(#catched['!'] == 0)
end
files.remove('')