1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

allow chaining matchers

This commit is contained in:
Jesse Duffield
2022-12-26 17:15:33 +11:00
parent c841ba8237
commit 96310288ee
13 changed files with 132 additions and 67 deletions

View File

@ -25,7 +25,7 @@ var DirWithUntrackedFile = NewIntegrationTest(NewIntegrationTestArgs{
assert.CommitCount(1)
assert.MainView().
Content(NotContains("error: Could not access")).
Content(DoesNotContain("error: Could not access")).
// we show baz because it's a modified file but we don't show bar because it's untracked
// (though it would be cool if we could show that too)
Content(Contains("baz"))