types: add Time parsing test

Change-Id: Ie13a244cda76d11a39a1200895f4cd75013db087
This commit is contained in:
Brad Fitzpatrick 2013-12-22 15:07:47 -08:00
parent aa23c1b379
commit 12f87787fe
1 changed files with 1 additions and 0 deletions

View File

@ -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},