mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-08 04:04:22 +02:00
Fix error message for selected lines
We had the actual and expected lines swapped around erroneously
This commit is contained in:
parent
269ef7f250
commit
0402674ee7
@ -265,8 +265,8 @@ func (self *ViewDriver) assertLines(offset int, matchers ...*TextMatcher) *ViewD
|
||||
view.Name(),
|
||||
formatLineRange(startIdx, endIdx),
|
||||
formatLineRange(expectedStartIdx, expectedEndIdx),
|
||||
strings.Join(lines, "\n"),
|
||||
strings.Join(expectedSelectedLines, "\n"),
|
||||
strings.Join(lines, "\n"),
|
||||
)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user