mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04: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 a new issue