summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/custom_commands/form_prompts.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-12-27 15:22:31 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-12-27 21:26:18 +1100
commit09e80e5f2a56e5d13262e6d01c68cb4054bad6f4 (patch)
tree84e9280ce674ead35e15348d0e6f6fa54d0ebdea /pkg/integration/tests/custom_commands/form_prompts.go
parentbe30cbb37509f09c53265aa39d89cac1f6cd65c2 (diff)
better namespacing for assertions
Diffstat (limited to 'pkg/integration/tests/custom_commands/form_prompts.go')
-rw-r--r--pkg/integration/tests/custom_commands/form_prompts.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/integration/tests/custom_commands/form_prompts.go b/pkg/integration/tests/custom_commands/form_prompts.go
index 6778dd7aa..cc854d524 100644
--- a/pkg/integration/tests/custom_commands/form_prompts.go
+++ b/pkg/integration/tests/custom_commands/form_prompts.go
@@ -61,7 +61,7 @@ var FormPrompts = NewIntegrationTest(NewIntegrationTestArgs{
assert *Assert,
keys config.KeybindingConfig,
) {
- assert.WorkingTreeFileCount(0)
+ assert.Model().WorkingTreeFileCount(0)
input.Press("a")
@@ -74,7 +74,7 @@ var FormPrompts = NewIntegrationTest(NewIntegrationTestArgs{
Content(Equals("Are you REALLY sure you want to make this file? Up to you buddy.")).
Confirm()
- assert.WorkingTreeFileCount(1)
+ assert.Model().WorkingTreeFileCount(1)
assert.Views().Current().SelectedLine(Contains("my file"))
assert.Views().Main().Content(Contains(`"BAR"`))
},