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

@@ -54,7 +54,7 @@ var DiffAndApplyPatch = NewIntegrationTest(NewIntegrationTestArgs{
input.Press(keys.Universal.DiffingMenu)
input.Menu(Equals("Diffing"), Contains("exit diff mode"))
assert.View("information").Content(NotContains("building patch"))
assert.View("information").Content(DoesNotContain("building patch"))
input.Press(keys.Universal.CreatePatchOptionsMenu)
// adding the regex '$' here to distinguish the menu item from the 'apply patch in reverse' item