Remove the last staging-panel language from tests

Generic range assertions and migrated commit tests should describe the views
they still exercise. Drop stale explorer wording so failures and test intent
no longer point contributors at UI that does not exist.

Co-Authored-By: GitHub Copilot <copilot@github.com>
This commit is contained in:
Stefan Haller
2026-10-01 17:28:30 +02:00
co-authored by GitHub Copilot
parent e576b39e26
commit 4fdeb2645b
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ func (self *ViewDriver) ContainsLines(matchers ...*TextMatcher) *ViewDriver {
expectedContent := expectedContentFromMatchers(matchers)
return false, fmt.Sprintf(
"Expected the following to be contained in the staging panel:\n-----\n%s\n-----\nBut got:\n-----\n%s\n-----\nSelected range: %d-%d",
"Expected the following lines to be contained in the selected range:\n-----\n%s\n-----\nBut got:\n-----\n%s\n-----\nSelected range: %d-%d",
expectedContent,
content,
startIdx,
-2
View File
@@ -53,7 +53,5 @@ var Unstaged = NewIntegrationTest(NewIntegrationTestArgs{
)
t.Views().Main().IsFocused()
// TODO: assert that the staging panel has been refreshed (it currently does not get correctly refreshed)
},
})