Merge pull request #8674 from reitermarkus/rspec-no-colon
Remove colon from RSpec annotations.
This commit is contained in:
commit
c70d6d1f0b
@ -33,7 +33,7 @@ module RSpec
|
||||
|
||||
description = failure.example.full_description
|
||||
message = failure.message_lines.join("\n")
|
||||
annotation = "#{description}:\n\n#{message}"
|
||||
annotation = "#{description}\n\n#{message}"
|
||||
|
||||
output.puts "\n::error file=#{file},line=#{line}::#{self.class.escape(annotation)}"
|
||||
end
|
||||
@ -48,7 +48,7 @@ module RSpec
|
||||
else
|
||||
"Pending: #{pending.example.execution_result.pending_message}"
|
||||
end
|
||||
annotation = "#{description}:\n\n#{message}"
|
||||
annotation = "#{description}\n\n#{message}"
|
||||
|
||||
output.puts "\n::warning file=#{file},line=#{line}::#{self.class.escape(annotation)}"
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user