summaryrefslogtreecommitdiffstats
path: root/roseh.moe_test.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-10-20 16:10:18 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-10-20 16:33:08 -0700
commit78ff3c607a6b7252c872ee6393c504d87c371489 (patch)
tree16773e064500935d7ff59436db51c87083a678cb /roseh.moe_test.go
parentAdd a link to temporarily log in another device (diff)
downloadroseh.moe-78ff3c607a6b7252c872ee6393c504d87c371489.tar.zst
Remove a lot of files that aren't necessary
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)
- }
-}