From 223598c8f2adfd868ca4c519dc423eeaee50538f Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 9 Sep 2023 11:56:06 -0700 Subject: [PATCH] Remove golden that was forked for actions, that didn't need to be --- client/client_test.go | 6 +--- .../TestTimestampFormat-tquery-isAction | 31 ------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 client/lib/goldens/TestTimestampFormat-tquery-isAction diff --git a/client/client_test.go b/client/client_test.go index b366884..d495f4e 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -2400,11 +2400,7 @@ func TestTimestampFormat(t *testing.T) { 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]) - goldenName := "TestTimestampFormat-tquery" - if testutils.IsGithubAction() { - goldenName += "-isAction" - } - testutils.CompareGoldens(t, out, goldenName) + testutils.CompareGoldens(t, out, "TestTimestampFormat-tquery") } func TestZDotDir(t *testing.T) { diff --git a/client/lib/goldens/TestTimestampFormat-tquery-isAction b/client/lib/goldens/TestTimestampFormat-tquery-isAction deleted file mode 100644 index 31fc97d..0000000 --- a/client/lib/goldens/TestTimestampFormat-tquery-isAction +++ /dev/null @@ -1,31 +0,0 @@ --pipefail -tablesizing - - - -Search Query: > -pipefail -tablesizing - -┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ -│ Hostname CWD Timestamp Runtime Exit Code Command │ -│───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│ -│ localhost ~/foo/ 2022/Apr/16 01:03 24s 3 table_cmd2 │ -│ localhost /tmp/ 2022/Apr/16 01:03 4s 2 table_cmd1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa… │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -hiSHtory: Search your shell history • ctrl+h help \ No newline at end of file