Skip to content

Commit

Permalink
Minor test correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rickb777 committed Jul 24, 2024
1 parent db08fef commit b7388c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ func TestDate_UnmarshalText_invalid_date_text(t *testing.T) {
value string
want string
}{
{`not-a-date`, `Date.ParseISO: cannot parse "not-a-date": incorrect syntax`},
{`215-08-15`, `Date.ParseISO: cannot parse "215-08-15": invalid year`},
{`not-a-date`, `date.ParseISO: cannot parse "not-a-date": incorrect syntax`},
{`215-08-15`, `date.ParseISO: cannot parse "215-08-15": invalid year`},
}
for _, c := range cases {
var d Date
Expand Down

0 comments on commit b7388c8

Please sign in to comment.