From 4eba68f6a3b1c905acb5162d6d5a56efd7b3cc86 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 17 Aug 2008 12:48:29 +0200 Subject: Don't %-expand twice in TAP output darcs-hash:20080817104829-4fc50-2ac9aea25dae06b52f9dcb484aeb0f6ab7fcdc6a.gz --- lib/bacon.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit 1.4.1