mirror of
https://github.com/json-iterator/go.git
synced 2024-11-27 08:30:57 +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
|
|
},
|
|
})
|
|
}
|