mirror of https://github.com/perkeep/perkeep.git
types: add Time parsing test
Change-Id: Ie13a244cda76d11a39a1200895f4cd75013db087
This commit is contained in:
parent
aa23c1b379
commit
12f87787fe
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue