Skip to content

Commit 32833a9

Browse files
authored
Fixed previous fix. (#15098)
1 parent 4fd6e82 commit 32833a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integrations/git_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,9 @@ func doEnsureDiffNoChange(ctx APITestContext, pr api.PullRequest, diffStr string
527527
if actualMaxLen > 800 {
528528
actualMaxLen = 800
529529
}
530-
assert.Equal(t, diffStr, actual, "Unexpected change in the diff string: expected: %s but was actually: %s", diffStr[:expectedMaxLen], actual[:actualMaxLen])
530+
531+
equal := diffStr == actual
532+
assert.True(t, equal, "Unexpected change in the diff string: expected: %s but was actually: %s", diffStr[:expectedMaxLen], actual[:actualMaxLen])
531533
}
532534
}
533535

0 commit comments

Comments
 (0)