More dots.

This commit is contained in:
Bruce Hill 2018-02-09 03:46:11 -08:00
parent 1e05aa9cfd
commit f70a86f0b2

View File

@ -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