Fix date in both places :)

This commit is contained in:
David Dworken 2022-04-18 22:50:26 -07:00
parent d6a142dfe7
commit 77f9ee707c

View File

@ -63,7 +63,7 @@ func TestBuildHistoryEntry(t *testing.T) {
}
// Test building an entry for zsh
entry, err = BuildHistoryEntry([]string{"unused", "saveHistoryEntry", "zsh", "120", "ls /foo\n", "1641774958326745663"})
entry, err = BuildHistoryEntry([]string{"unused", "saveHistoryEntry", "zsh", "120", "ls /foo\n", "1641774958"})
shared.Check(t, err)
if entry.ExitCode != 120 {
t.Fatalf("history entry has unexpected exit code: %v", entry.ExitCode)