More dots.
This commit is contained in:
parent
1e05aa9cfd
commit
f70a86f0b2
4
test.lua
4
test.lua
@ -15,13 +15,13 @@ local function test(description, fn)
|
||||
io.write(red)
|
||||
local ok, err = pcall(fn)
|
||||
if not ok then
|
||||
io.write(reset..dim.."\r...............................")
|
||||
io.write(reset..dim.."\r..................................")
|
||||
io.write(reset.."["..bright..red.."FAILED"..reset.."]\r")
|
||||
io.write("\r"..description.."\n"..reset)
|
||||
print(reset..red..(err or "")..reset)
|
||||
num_errors = num_errors + 1
|
||||
else
|
||||
io.write(reset..dim.."\r...............................")
|
||||
io.write(reset..dim.."\r..................................")
|
||||
io.write(reset.."["..green.."PASSED"..reset.."]\r")
|
||||
io.write(description.."\n")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user