1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-24 08:22:14 +02:00
json-iterator/skip_tests/float64_test.go
2018-02-13 20:41:21 +08:00

21 lines
406 B
Go

package skip_tests
func init() {
testCases = append(testCases, testCase{
ptr: (*float64)(nil),
inputs: []string{
"+1", // invalid
"-a", // invalid
"-\x00", // invalid, zero byte
"0.1", // valid
"0..1", // invalid, more dot
"1e+1", // valid
"1+1", // invalid
"1E1", // valid, e or E
"1ee1", // invalid
"100a", // invalid
"10.", // invalid
},
})
}