From 73abaaf1db8d884ccc1eccff2cef4f17a38fcf72 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 9 Apr 2024 00:43:25 +0800 Subject: fix errors --- tests/runner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/runner.lua') 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) -- cgit v1.3.1