From d02bb9205f87c0d6cae47560b584a089b055ddad Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Mon, 12 Apr 2021 14:31:32 +0200 Subject: [PATCH] add test to NumericDate (#107) --- numeric_date_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/numeric_date_test.go b/numeric_date_test.go index 55941cc..672ab2d 100644 --- a/numeric_date_test.go +++ b/numeric_date_test.go @@ -67,6 +67,7 @@ func TestNumericDateUnmarshalMalformed(t *testing.T) { f(`["admin",123]`) f(`{}`) f(`[]`) + f(`1e+309`) } func asNumericDate(n int64) NumericDate {