From 68c6bd6654de167222823e3101f692fdf9e134a7 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 23 Sep 2023 10:56:27 -0700 Subject: [PATCH] Improve TestTimestampFormat --- client/client_test.go | 2 +- client/lib/goldens/TestTimestampFormat-tquery | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/client/client_test.go b/client/client_test.go index cd93f3e..45fcc39 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -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") } diff --git a/client/lib/goldens/TestTimestampFormat-tquery b/client/lib/goldens/TestTimestampFormat-tquery index 31fc97d..0db2c38 100644 --- a/client/lib/goldens/TestTimestampFormat-tquery +++ b/client/lib/goldens/TestTimestampFormat-tquery @@ -1,7 +1,3 @@ --pipefail -tablesizing - - - Search Query: > -pipefail -tablesizing ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐