mirror of https://github.com/spf13/cast.git
Update cast_test.go
This commit is contained in:
parent
157e4947bf
commit
8d351a4827
|
@ -1218,6 +1218,7 @@ func TestToTimeEE(t *testing.T) {
|
||||||
{uint(1482597504), time.Date(2016, 12, 24, 16, 38, 24, 0, time.UTC), false},
|
{uint(1482597504), time.Date(2016, 12, 24, 16, 38, 24, 0, time.UTC), false},
|
||||||
{uint64(1234567890), time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
{uint64(1234567890), time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
||||||
{uint32(1234567890), time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
{uint32(1234567890), time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
||||||
|
{"1234567890", time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
||||||
{time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
{time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), time.Date(2009, 2, 13, 23, 31, 30, 0, time.UTC), false},
|
||||||
// errors
|
// errors
|
||||||
{"2006", time.Time{}, true},
|
{"2006", time.Time{}, true},
|
||||||
|
|
Loading…
Reference in New Issue