mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-09 09:22:48 +03: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:
@@ -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>"),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user