Allow integers to be unmarshaled into floats (#841)

Co-authored-by: Marty <martin@windscribe.com>
This commit is contained in:
Marty
2023-02-09 18:02:25 +01:00
committed by GitHub
parent c4a2eef8a4
commit 9f5726004e
3 changed files with 14 additions and 6 deletions
@@ -1085,10 +1085,6 @@ func TestUnmarshalCheckConversionFloatInt(t *testing.T) {
desc: "int",
input: `I = 1e300`,
},
{
desc: "float",
input: `F = 9223372036854775806`,
},
}
for _, test := range testCases {