From 81ad56ff88b302919ecad0b0b11e1244d236f551 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 7 Jan 2008 19:33:07 +0100 Subject: Improve TAP output darcs-hash:20080107183307-4fc50-8f4f10d51c6bc9603af5ae84a14a1a814f77bd79.gz --- lib/bacon.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bacon.rb') diff --git a/lib/bacon.rb b/lib/bacon.rb index dac4a16..e1b04cc 100644 --- a/lib/bacon.rb +++ b/lib/bacon.rb @@ -82,9 +82,9 @@ module Bacon ErrorLog.replace "" error = yield if error.empty? - printf "ok %-8d # %s\n" % [Counter[:specifications], description] + printf "ok %-3d - %s\n" % [Counter[:specifications], description] else - printf "not ok %-4d # %s: %s\n" % + printf "not ok %d - %s: %s\n" % [Counter[:specifications], description, error] puts ErrorLog.strip.gsub(/^/, '# ') end -- cgit 1.4.1