diff options
author | Andrew Hynes <andrew.hynes@colabsoftware.com> | 2022-10-06 22:53:13 -0230 |
---|---|---|
committer | Andrew Hynes <andrew.hynes@colabsoftware.com> | 2022-10-06 22:53:13 -0230 |
commit | a30d924afe8e996dd0517bc70855803858efc362 (patch) | |
tree | f1756b6c9fe692ec21e5bc74c79dcd6283008571 /pkg/integration/tests/stash/stash.go | |
parent | f4c188fa5b069a1d0714dc9508cecfa55eaddf46 (diff) |
test: add test for stash including untracked files
Diffstat (limited to 'pkg/integration/tests/stash/stash.go')
-rw-r--r-- | pkg/integration/tests/stash/stash.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/integration/tests/stash/stash.go b/pkg/integration/tests/stash/stash.go index db9e13b78..af247550b 100644 --- a/pkg/integration/tests/stash/stash.go +++ b/pkg/integration/tests/stash/stash.go @@ -17,6 +17,7 @@ var Stash = NewIntegrationTest(NewIntegrationTestArgs{ }, Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) { assert.StashCount(0) + assert.WorkingTreeFileCount(1) input.PressKeys(keys.Files.ViewStashOptions) assert.InMenu() @@ -26,5 +27,6 @@ var Stash = NewIntegrationTest(NewIntegrationTestArgs{ input.Confirm() assert.StashCount(1) + assert.WorkingTreeFileCount(0) }, }) |