From 12f87787fedb22d326b0d4b9553f46fed8617d1d Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 22 Dec 2013 15:07:47 -0800 Subject: [PATCH] types: add Time parsing test Change-Id: Ie13a244cda76d11a39a1200895f4cd75013db087 --- pkg/types/types_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/types/types_test.go b/pkg/types/types_test.go index fc58231bb..e3f847c06 100644 --- a/pkg/types/types_test.go +++ b/pkg/types/types_test.go @@ -76,6 +76,7 @@ func TestTime3339_empty(t *testing.T) { {enc: "null", z: true}, {enc: `""`, z: true}, {enc: "0000-00-00T00:00:00Z", z: true}, + {enc: "0001-01-01T00:00:00Z", z: true}, {enc: "1970-01-01T00:00:00Z", z: true}, {enc: "2001-02-03T04:05:06Z", z: false}, {enc: "2001-02-03T04:05:06+06:00", z: false},