Skip to content

Commit

Permalink
Don't %-expand twice in TAP output
Browse files Browse the repository at this point in the history
darcs-hash:20080817104829-4fc50-2ac9aea25dae06b52f9dcb484aeb0f6ab7fcdc6a.gz
  • Loading branch information
leahneukirchen committed Aug 17, 2008
1 parent ae652e6 commit 4eba68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bacon.rb
Expand Up @@ -79,9 +79,9 @@ def handle_requirement(description)
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
Expand Down

0 comments on commit 4eba68f

Please sign in to comment.