Improve TestTimestampFormat

This commit is contained in:
David Dworken 2023-09-23 10:56:27 -07:00
parent e886763144
commit 68c6bd6654
No known key found for this signature in database
2 changed files with 1 additions and 5 deletions

View File

@ -2158,7 +2158,7 @@ func TestTimestampFormat(t *testing.T) {
out := hishtoryQuery(t, tester, "-pipefail -tablesizing")
testutils.CompareGoldens(t, out, "TestTimestampFormat-query")
out = captureTerminalOutput(t, tester, []string{"hishtory SPACE tquery SPACE -pipefail SPACE -tablesizing ENTER"})
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
out = strings.TrimSpace(strings.Split(out, "hishtory tquery -pipefail -tablesizing")[1])
testutils.CompareGoldens(t, out, "TestTimestampFormat-tquery")
}

View File

@ -1,7 +1,3 @@
-pipefail -tablesizing
Search Query: > -pipefail -tablesizing
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐