Skip to content

Commit

Permalink
cleaning up messages for the reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
ot-marcus-bratton committed Mar 23, 2012
1 parent 81e06a1 commit b1ea308
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
sapphire (0.7.17)
sapphire (0.7.18)
Platform
colorize
selenium-webdriver
Expand Down
2 changes: 1 addition & 1 deletion lib/sapphire/Testing/ConsoleReporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def PrintItem(result, depth)
end
@output.puts ""
result.stack.each do |line|
if (!line.include? "sapphire" and ! line.include? "-e:1")
if (!line.include? "sapphire" and ! line.include? "-e:1:in")
Indent(depth+1)
@output.puts line
end
Expand Down
4 changes: 2 additions & 2 deletions lib/sapphire/Testing/HtmlReporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def TestFailed(test)
end

test.stack.each do |line|
if (!line.include? "sapphire")
if (!line.include? "sapphire" and ! line.include? "-e:1:in")
@output.puts " <div class=\"backtrace\"><pre>#{Indent(test) + line}</pre></div>"
end
end
Expand Down Expand Up @@ -127,7 +127,7 @@ def ScenarioStart(scenario)
end
@output.puts "<div class=\"example_group\">"
@output.puts " <dl>"
@output.puts " <dt id=\"example_group_#{@example_group_number}\">#{scenario.text}</dt>"
@output.puts " <dt id=\"example_group_#{@example_group_number}\">#{scenario.text} - #{scenario.file_name}</dt>"
end

def OutputResults()
Expand Down
2 changes: 1 addition & 1 deletion lib/sapphire/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Sapphire
VERSION = "0.7.18"
VERSION = "0.7.19"
end

0 comments on commit b1ea308

Please sign in to comment.