From c6929c36aeb17c54ffc54e38b80e9f1b27cef309 Mon Sep 17 00:00:00 2001 From: Phanindra kumar Paladi Date: Mon, 23 Jan 2023 15:53:21 +0530 Subject: [PATCH] Corrected test assert --- pkg/integration/tests/patch_building/copy_patch_to_clipboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } },