summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/stash/stash.go
diff options
context:
space:
mode:
authorAndrew Hynes <andrew.hynes@colabsoftware.com>2022-10-06 22:53:13 -0230
committerAndrew Hynes <andrew.hynes@colabsoftware.com>2022-10-06 22:53:13 -0230
commita30d924afe8e996dd0517bc70855803858efc362 (patch)
treef1756b6c9fe692ec21e5bc74c79dcd6283008571 /pkg/integration/tests/stash/stash.go
parentf4c188fa5b069a1d0714dc9508cecfa55eaddf46 (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.go2
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)
},
})