diff --git a/Library/Homebrew/test/support/github_formatter.rb b/Library/Homebrew/test/support/github_formatter.rb index 4b4aac9045a6a133b4933318b35f11a5a67dccf0..7010a4d93f925753b1d722b1ab599616ae51ccad 100644 --- a/Library/Homebrew/test/support/github_formatter.rb +++ b/Library/Homebrew/test/support/github_formatter.rb @@ -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