[DRE-commits] [ruby-rspec-instafail] 16/108: Changed to traditional rspec formatting.
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 c6adb7d4f91576e275fbcaaedf4aceda3d0008c9
Author: Matthew Willhite <matthew.willhite at gmail.com>
Date: Thu Oct 21 12:30:14 2010 -0700
Changed to traditional rspec formatting.
---
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 e00ba13..407a7f0 100644
--- a/lib/rspec/instafail.rb
+++ b/lib/rspec/instafail.rb
@@ -23,8 +23,8 @@ module RSpec
short_padding = ' '
padding = ' '
output.puts
- output.puts red("#{@counter}: #{example.example_group.description} #{example.description}")
- output.puts "#{short_padding}#{exception}"
+ output.puts "#{short_padding}#{@counter}) #{example.full_description}"
+ output.puts "#{padding}#{red("Failure/Error:")} #{red(read_failed_line(exception, example).strip)}"
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