Skip to content
Snippets Groups Projects
Unverified Commit c70d6d1f authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #8674 from reitermarkus/rspec-no-colon

Remove colon from RSpec annotations.
parents 7500b1cc d45af9e7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment