Improved tests

This commit is contained in:
David Dworken
2022-04-16 00:56:08 -07:00
parent c369661e53
commit a9af51f5b2
2 changed files with 27 additions and 6 deletions

View File

@ -61,9 +61,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 behavior when the command is prefixed with a space
// TODO: write a test for this
}
func TestGetUserSecret(t *testing.T) {