diff options
Diffstat (limited to 'tests/runner.lua')
| -rw-r--r-- | tests/runner.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.lua b/tests/runner.lua index 17783f9e4..b3d578a6f 100644 --- a/tests/runner.lua +++ b/tests/runner.lua @@ -54,7 +54,7 @@ function main(script) if errors then errors = tostring(errors) end - if not errors:find("aborting because of ") then + if errors and not errors:find("aborting because of ") then context:print_error(errors, v, "unhandled error") else raise(errors) |
