From 0402674ee7a355116cfdb6494df705d27323bd46 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Thu, 25 Jan 2024 11:01:57 +1100 Subject: [PATCH] Fix error message for selected lines We had the actual and expected lines swapped around erroneously --- pkg/integration/components/view_driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), ) }) }