mirror of
https://github.com/araddon/dateparse.git
synced 2025-01-19 11:16:12 +08:00
Another error
This commit is contained in:
parent
cefe5b3dbe
commit
4345a38e91
@ -488,7 +488,10 @@ func TestPStruct(t *testing.T) {
|
||||
denverLoc, err := time.LoadLocation("America/Denver")
|
||||
assert.Equal(t, nil, err)
|
||||
|
||||
p := newParser("08.21.71", denverLoc)
|
||||
p, err := newParser("08.21.71", denverLoc)
|
||||
if err != nil {
|
||||
t.Fatalf("Parser build error: %s", err)
|
||||
}
|
||||
|
||||
p.setMonth()
|
||||
assert.Equal(t, 0, p.moi)
|
||||
|
Loading…
Reference in New Issue
Block a user