Add extra string split so the test passes on github actions

This commit is contained in:
David Dworken
2023-05-17 08:38:47 -07:00
parent e9a227e95d
commit 06cbd0e7f3
2 changed files with 2 additions and 3 deletions

View File

@ -2401,6 +2401,7 @@ echo foo`)
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery")
out = captureTerminalOutput(t, tester, []string{"hishtory SPACE tquery SPACE -pipefail ENTER", "Down Down", "ENTER"})
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
out = strings.Split(out, "\n")[1]
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery-select")
}