From d45af9e78110415a8298db69a55117848b0fbf36 Mon Sep 17 00:00:00 2001
From: Markus Reiter <me@reitermark.us>
Date: Wed, 9 Sep 2020 21:56:19 +0200
Subject: [PATCH] Remove colon from RSpec annotations.

---
 Library/Homebrew/test/support/github_formatter.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Library/Homebrew/test/support/github_formatter.rb b/Library/Homebrew/test/support/github_formatter.rb
index 4b4aac9045..7010a4d93f 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
-- 
GitLab