1
0
mirror of https://github.com/json-iterator/go.git synced 2024-12-12 09:03:48 +02:00
json-iterator/skip_tests/string_test.go

18 lines
331 B
Go
Raw Normal View History

2018-02-13 14:41:21 +02:00
package skip_tests
func init() {
testCases = append(testCases, testCase{
ptr: (*string)(nil),
inputs: []string{
`""`, // valid
`"hello"`, // valid
`"`, // invalid
`"\"`, // invalid
`"\x00"`, // invalid
"\"\x00\"", // invalid
"\"\t\"", // invalid
`"\t"`, // valid
},
})
2018-02-24 16:04:41 +02:00
}