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:
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…
x
Reference in New Issue
Block a user