diff options
Diffstat (limited to 'tests/test.lua')
-rw-r--r-- | tests/test.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua index c0a27abd..c028e859 100644 --- a/tests/test.lua +++ b/tests/test.lua @@ -71,6 +71,7 @@ function dotest(unitname) end function runtest(f, msg) + if not f then print("SUBTEST NOT FOUND: "..(msg or "(no description)")); return; end local success, ret = pcall(f); if success and verbosity >= 2 then print("SUBTEST PASSED: "..(msg or "(no description)")); |