mirror of
https://github.com/araddon/dateparse.git
synced 2024-11-10 11:51:54 +08:00
test err
This commit is contained in:
parent
b00a86af45
commit
99b6954ef6
@ -59,7 +59,8 @@ func TestParse(t *testing.T) {
|
||||
//u.Debugf("%v", f)
|
||||
//u.Debugf("%v", ts)
|
||||
assert.T(t, ts.In(time.UTC).Unix() == 1241805471)
|
||||
ts, _ = ParseAny("03/19/2012 10:11:59")
|
||||
ts, err = ParseAny("03/19/2012 10:11:59")
|
||||
assert.T(t, err == nil)
|
||||
//u.Debug(ts.Unix(), ts)
|
||||
assert.T(t, ts.Unix() == 1332151919)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user