From 32833a9cfb56026b2883dd309eddc6d4b3efd7a2 Mon Sep 17 00:00:00 2001
From: KN4CK3R <KN4CK3R@users.noreply.github.com>
Date: Sun, 21 Mar 2021 20:51:54 +0100
Subject: [PATCH] Fixed previous fix. (#15098)

---
 integrations/git_test.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/integrations/git_test.go b/integrations/git_test.go
index d8e7c4fe51..c187fc6207 100644
--- a/integrations/git_test.go
+++ b/integrations/git_test.go
@@ -527,7 +527,9 @@ func doEnsureDiffNoChange(ctx APITestContext, pr api.PullRequest, diffStr string
 		if actualMaxLen > 800 {
 			actualMaxLen = 800
 		}
-		assert.Equal(t, diffStr, actual, "Unexpected change in the diff string: expected: %s but was actually: %s", diffStr[:expectedMaxLen], actual[:actualMaxLen])
+
+		equal := diffStr == actual
+		assert.True(t, equal, "Unexpected change in the diff string: expected: %s but was actually: %s", diffStr[:expectedMaxLen], actual[:actualMaxLen])
 	}
 }