mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 14:06:32 -04:00
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:
co-authored by
GitHub Copilot
parent
2bc2a59ad4
commit
c04c192659
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user