mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-22 13:31:11 +01:00
Remove test that no longer applies
This commit is contained in:
parent
fee21ee4f8
commit
bd70b68ffc
@ -91,13 +91,6 @@ func TestBuildHistoryEntry(t *testing.T) {
|
||||
if entry.StartTime.Unix() != 1641774958 {
|
||||
t.Fatalf("history entry has incorrect Unix time in the start time: %v", entry.StartTime.Unix())
|
||||
}
|
||||
|
||||
// Test the weird zsh bug
|
||||
entry, err = BuildHistoryEntry(hctx.MakeContext(), []string{"unused", "saveHistoryEntry", "zsh", "120", ": 1663823053:0;echo foo\n", "1641774958"})
|
||||
shared.Check(t, err)
|
||||
if entry.Command != "echo foo" {
|
||||
t.Fatalf("expected the zsh command to be worked around, actual=%s", entry.Command)
|
||||
}
|
||||
}
|
||||
|
||||
func TestPersist(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user