1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-21 12:16:54 +02:00

Corrected test assert

This commit is contained in:
Phanindra kumar Paladi 2023-01-23 15:53:21 +05:30
parent e8f4508cba
commit c6929c36ae

View File

@ -49,7 +49,7 @@ var BuildPatchAndCopyToClipboard = NewIntegrationTest(NewIntegrationTestArgs{
if err != nil { if err != nil {
t.Fail(err.Error()) 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") t.Fail("Text from clipboard did not match with git diff")
} }
}, },