summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-08-17 12:48:29 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2008-08-17 12:48:29 +0200
commit4eba68f6a3b1c905acb5162d6d5a56efd7b3cc86 (patch)
treef1300ea3bcb7bfbc1271a983947782ecca230b20 /lib
parentae652e644515dd0b5b02072e62b264237cbe841e (diff)
downloadbacon-4eba68f6a3b1c905acb5162d6d5a56efd7b3cc86.tar.gz
bacon-4eba68f6a3b1c905acb5162d6d5a56efd7b3cc86.tar.xz
bacon-4eba68f6a3b1c905acb5162d6d5a56efd7b3cc86.zip
Don't %-expand twice in TAP output
darcs-hash:20080817104829-4fc50-2ac9aea25dae06b52f9dcb484aeb0f6ab7fcdc6a.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 c5f3763..86b699d 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -79,9 +79,9 @@ module Bacon
       ErrorLog.replace ""
       error = yield
       if error.empty?
-        printf "ok %-3d - %s\n" % [Counter[:specifications], description]
+        puts "ok %-3d - %s" % [Counter[:specifications], description]
       else
-        printf "not ok %d - %s: %s\n" %
+        puts "not ok %d - %s: %s" %
           [Counter[:specifications], description, error]
         puts ErrorLog.strip.gsub(/^/, '# ')
       end