summaryrefslogtreecommitdiffstats
path: root/roseh.moe_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'roseh.moe_test.go')
-rw-r--r--roseh.moe_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/roseh.moe_test.go b/roseh.moe_test.go
deleted file mode 100644
index cf41cd0..0000000
--- a/roseh.moe_test.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package main
-
-import (
- "testing"
- "time"
-)
-
-func TestMarshalTime(t *testing.T) {
- now := time.Now().Truncate(time.Second)
- b := marshalTime(now)
- got, ok := unmarshalTime(b)
- if !ok {
- t.Fatalf("Failed round trip")
- }
- if !got.Equal(now) {
- t.Errorf("Failed round trip. unmarshalTime(%v) = %v, want %v", b, got, now)
- }
-}