summaryrefslogtreecommitdiff
path: root/internal/entry/entry_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/entry/entry_test.go')
-rw-r--r--internal/entry/entry_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/entry/entry_test.go b/internal/entry/entry_test.go
index 5e3a5d3..0ec8166 100644
--- a/internal/entry/entry_test.go
+++ b/internal/entry/entry_test.go
@@ -3,9 +3,8 @@ package entry
import (
"fmt"
"testing"
- "time"
- "codeberg.org/snonux/gos/internal/format"
+ "codeberg.org/snonux/gos/internal/timestamp"
)
func TestEntry(t *testing.T) {
@@ -27,7 +26,7 @@ func TestEntry(t *testing.T) {
t.Errorf("expected state %s but got %s", state, ent.State)
}
- expectedTime, err := time.Parse(format.Time, stamp)
+ expectedTime, err := timestamp.Parse(stamp)
if err != nil {
t.Error(err)
}