mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-09 15:15:08 +02:00
Split the timestamp format test on is_action
This commit is contained in:
@ -2138,7 +2138,11 @@ func TestTimestampFormat(t *testing.T) {
|
||||
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])
|
||||
compareGoldens(t, out, "TestTimestampFormat-tquery")
|
||||
goldenName := "TestTimestampFormat-tquery"
|
||||
if os.Getenv("GITHUB_ACTION") != "" {
|
||||
goldenName += "-isAction"
|
||||
}
|
||||
compareGoldens(t, out, goldenName)
|
||||
}
|
||||
|
||||
func TestRemoveDuplicateRows(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user