Minor UI improvement.
parent
737f34eb55
commit
6f91055f11
|
@ -155,7 +155,12 @@ when "show"
|
||||||
# This prints a single TAP test entry.
|
# This prints a single TAP test entry.
|
||||||
STDOUT << " -> "
|
STDOUT << " -> "
|
||||||
STDOUT << ("%3s" % test.id).colorize(:cyan)
|
STDOUT << ("%3s" % test.id).colorize(:cyan)
|
||||||
|
|
||||||
|
if test.status.ok?
|
||||||
STDOUT << (" %6s " % test.status.to_s).colorize(:green)
|
STDOUT << (" %6s " % test.status.to_s).colorize(:green)
|
||||||
|
else
|
||||||
|
STDOUT << (" %6s " % test.status.to_s).colorize(:red)
|
||||||
|
end
|
||||||
STDOUT << test.title.colorize(:white)
|
STDOUT << test.title.colorize(:white)
|
||||||
STDOUT << "\n"
|
STDOUT << "\n"
|
||||||
STDOUT.flush
|
STDOUT.flush
|
||||||
|
|
Loading…
Reference in New Issue