summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/stash
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-12-27 15:07:11 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-12-27 21:26:18 +1100
commitbe30cbb37509f09c53265aa39d89cac1f6cd65c2 (patch)
treeb4de7229344ed48c6a38201a13c4a0bce49bd8d4 /pkg/integration/tests/stash
parentb64f55518bc0f986662b54bbaaefecc692555100 (diff)
add view asserter getter struct
Diffstat (limited to 'pkg/integration/tests/stash')
-rw-r--r--pkg/integration/tests/stash/rename.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/integration/tests/stash/rename.go b/pkg/integration/tests/stash/rename.go
index 99036b7f6..443f64a14 100644
--- a/pkg/integration/tests/stash/rename.go
+++ b/pkg/integration/tests/stash/rename.go
@@ -21,7 +21,7 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
input.SwitchToStashView()
- assert.CurrentView().Lines(
+ assert.Views().Current().Lines(
Equals("On master: bar"),
Equals("On master: foo"),
)
@@ -30,6 +30,6 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{
input.Prompt().Title(Equals("Rename stash: stash@{1}")).Type(" baz").Confirm()
- assert.CurrentView().SelectedLine(Equals("On master: foo baz"))
+ assert.Views().Current().SelectedLine(Equals("On master: foo baz"))
},
})