Skip to content
Snippets Groups Projects
Commit d45af9e7 authored by Markus Reiter's avatar Markus Reiter
Browse files

Remove colon from RSpec annotations.

parent 456e674c
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