mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-14 01:26:24 -04:00
Corrected test assert
This commit is contained in:
parent
e8f4508cba
commit
c6929c36ae
|
|
@ -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")
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue