summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-01-07 19:33:07 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2008-01-07 19:33:07 +0100
commit81ad56ff88b302919ecad0b0b11e1244d236f551 (patch)
tree655bd7c27aa27f8b23dd73ec2c45bbf1e61124d9 /lib
parent46accb531e9988d3ce9870b52a70268e80c2f5b7 (diff)
downloadbacon-81ad56ff88b302919ecad0b0b11e1244d236f551.tar.gz
bacon-81ad56ff88b302919ecad0b0b11e1244d236f551.tar.xz
bacon-81ad56ff88b302919ecad0b0b11e1244d236f551.zip
Improve TAP output
darcs-hash:20080107183307-4fc50-8f4f10d51c6bc9603af5ae84a14a1a814f77bd79.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/bacon.rb4
1 files changed, 2 insertions, 2 deletions
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