diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2024-01-25 11:01:57 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2024-01-25 11:34:59 +1100 |
commit | 0402674ee7a355116cfdb6494df705d27323bd46 (patch) | |
tree | a407aae4a918672a16e71929123a642f890f81e8 | |
parent | 269ef7f250fb245458d231d8733beca4765f0d93 (diff) |
Fix error message for selected lines
We had the actual and expected lines swapped around erroneously
-rw-r--r-- | pkg/integration/components/view_driver.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/integration/components/view_driver.go b/pkg/integration/components/view_driver.go index 6160d6b2e..567c4421d 100644 --- a/pkg/integration/components/view_driver.go +++ b/pkg/integration/components/view_driver.go @@ -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"), ) }) } |