mirror of
https://github.com/araddon/dateparse.git
synced 2025-01-19 19:26:09 +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")
|
denverLoc, err := time.LoadLocation("America/Denver")
|
||||||
assert.Equal(t, nil, err)
|
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()
|
p.setMonth()
|
||||||
assert.Equal(t, 0, p.moi)
|
assert.Equal(t, 0, p.moi)
|
||||||
|
Loading…
Reference in New Issue
Block a user