We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b535ff8 commit a473c12Copy full SHA for a473c12
1 file changed
decode_test.go
@@ -200,6 +200,11 @@ func TestDecodeErrors(t *testing.T) {
200
`V.N = 999999999999999`,
201
`toml: line 1 (last key "V.N"): 999999999999999 is out of the safe float32 range`,
202
},
203
+ {
204
+ &struct{ F float64 }{},
205
+ `f = 999999e999999`,
206
+ `toml: line 1 (last key "f"): 999999e999999 is out of range for float64`,
207
+ },
208
{
209
&struct{ V struct{ N string } }{},
210
`V.N = 5`,
0 commit comments