diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-10-20 16:10:18 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-10-20 16:33:08 -0700 |
| commit | 78ff3c607a6b7252c872ee6393c504d87c371489 (patch) | |
| tree | 16773e064500935d7ff59436db51c87083a678cb /roseh.moe_test.go | |
| parent | Add a link to temporarily log in another device (diff) | |
| download | roseh.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.go | 18 |
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) - } -} |
