From f402c8cd879088a489192bba4c529eae8cfa384b Mon Sep 17 00:00:00 2001 From: Vadim Graboys Date: Fri, 31 Jul 2015 12:52:50 -0400 Subject: [PATCH] add one more extreme-value test for scientific notation parsing --- decimal_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/decimal_test.go b/decimal_test.go index f8fff74..a50589a 100644 --- a/decimal_test.go +++ b/decimal_test.go @@ -137,6 +137,7 @@ func TestNewFromStringErrs(t *testing.T) { "1e-1.2", "123.456e-1.3", "123.456e" + strconv.FormatInt(math.MinInt64, 10), + "123.456e" + strconv.FormatInt(math.MinInt32, 10), } for _, s := range tests {