diff options
| author | ruki <[email protected]> | 2024-04-09 00:43:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-09 00:43:25 +0800 |
| commit | 73abaaf1db8d884ccc1eccff2cef4f17a38fcf72 (patch) | |
| tree | a3aa98fb0bfaf3634a4be1661faafc65630e0834 /tests/runner.lua | |
| parent | aca3ead5d138db01a4286b410e18f3d85effffe8 (diff) | |
fix errors
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) |
