Skip to content

Commit 942edac

Browse files
committed
add test-case replicating parse bug
1 parent 6b43995 commit 942edac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parseany_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,9 @@ func TestParseStrict(t *testing.T) {
608608

609609
_, err = ParseStrict("2009-08-12T22:15Z")
610610
assert.Equal(t, nil, err)
611+
612+
_, err = ParseStrict(`dataddo, faces, bug`)
613+
assert.NotEqual(t, nil, err)
611614
}
612615

613616
// Lets test to see how this performs using different Timezones/Locations

0 commit comments

Comments
 (0)