diff options
| author | ruki <[email protected]> | 2026-01-21 00:56:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-21 00:56:36 +0800 |
| commit | 3a602442ced657fd07d9890176f1bc24ea1b346f (patch) | |
| tree | 86636fd9e0ef233f10a79a3b29a1c9de5317965d /tests/runner.lua | |
| parent | 2eeb428148125962177e2b51a2bb4aa3c95a55ff (diff) | |
improve test runner
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 5d154674d..f60bf37d8 100644 --- a/tests/runner.lua +++ b/tests/runner.lua @@ -8,7 +8,7 @@ function main(script, opt) script = path.join(script, "test.lua") end script = path.absolute(script) - assert(path.filename(script) == "test.lua", "file should named `test.lua`") + assert(path.filename(script) == "test.lua", "file(%s) should named `test.lua`", script) assert(os.isfile(script), "should be a file") -- disable statistics |
