mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-22 20:40:48 +01:00
add one more extreme-value test for scientific notation parsing
This commit is contained in:
parent
7a95614e29
commit
f402c8cd87
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ func TestNewFromStringErrs(t *testing.T) {
|
||||||
"1e-1.2",
|
"1e-1.2",
|
||||||
"123.456e-1.3",
|
"123.456e-1.3",
|
||||||
"123.456e" + strconv.FormatInt(math.MinInt64, 10),
|
"123.456e" + strconv.FormatInt(math.MinInt64, 10),
|
||||||
|
"123.456e" + strconv.FormatInt(math.MinInt32, 10),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, s := range tests {
|
for _, s := range tests {
|
||||||
|
|
Loading…
Reference in a new issue