mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Make test assertion more specific
It's safe to rely on git padding the log messages with exactly four spaces (I think). This makes the diff of the following commit slightly clearer.
This commit is contained in:
parent
e1b341e174
commit
287195b5b2
|
|
@ -33,8 +33,8 @@ var AddCoAuthor = NewIntegrationTest(NewIntegrationTestArgs{
|
|||
})
|
||||
|
||||
t.Views().Main().ContainsLines(
|
||||
Contains("initial commit"),
|
||||
Contains("Co-authored-by: John Smith <jsmith@gmail.com>"),
|
||||
Equals(" initial commit"),
|
||||
Equals(" Co-authored-by: John Smith <jsmith@gmail.com>"),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue