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:
Stefan Haller 2024-03-03 17:58:29 +01:00
parent e1b341e174
commit 287195b5b2

View file

@ -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>"),
)
},
})