diff --git a/pkg/integration/tests/patch_building/copy_patch_to_clipboard.go b/pkg/integration/tests/patch_building/copy_patch_to_clipboard.go index d06bce20b..1e2ff0122 100644 --- a/pkg/integration/tests/patch_building/copy_patch_to_clipboard.go +++ b/pkg/integration/tests/patch_building/copy_patch_to_clipboard.go @@ -49,7 +49,7 @@ var BuildPatchAndCopyToClipboard = NewIntegrationTest(NewIntegrationTestArgs{ if err != nil { t.Fail(err.Error()) } - if !strings.HasPrefix(text, "diff") { + if !strings.HasPrefix(text, "diff --git a/file1 b/file1") { t.Fail("Text from clipboard did not match with git diff") } },