[DRE-commits] [ruby-rspec-instafail] 11/108: A couple more minor formatting issues.

Hideki Yamane henrich at moszumanska.debian.org
Sun Nov 15 18:36:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-rspec-instafail.

commit cd1331602358dedc8c8fad60ea42a91013dba5cd
Author: Matthew Willhite <matthew.willhite at gmail.com>
Date:   Thu Oct 21 13:33:11 2010 -0700

    A couple more minor formatting issues.
---
 lib/rspec/instafail.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/rspec/instafail.rb b/lib/rspec/instafail.rb
index dddd697..f9eec5b 100644
--- a/lib/rspec/instafail.rb
+++ b/lib/rspec/instafail.rb
@@ -23,9 +23,9 @@ module RSpec
         short_padding = '  '
         padding = '     '
         output.puts
-        output.puts "#{@counter}) #{example.full_description}"
+        output.puts "#{short_padding}#{@counter}) #{example.full_description}"
         output.puts "#{padding}#{red("Failure/Error:")} #{red(read_failed_line(exception, example).strip)}"
-        output.puts "#{padding}#{exception}"
+        output.puts "#{padding}#{red(exception)}"
         format_backtrace(exception.backtrace, example).each do |backtrace_info|
           output.puts grey("#{padding}# #{backtrace_info}")
         end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-instafail.git



More information about the Pkg-ruby-extras-commits mailing list