mirror of
https://github.com/json-iterator/go.git
synced 2024-12-09 08:55:35 +02:00
18 lines
331 B
Go
18 lines
331 B
Go
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
|
|
},
|
|
})
|
|
}
|