mirror of
https://github.com/json-iterator/go.git
synced 2024-11-24 08:22:14 +02:00
16 lines
322 B
Go
16 lines
322 B
Go
package skip_tests
|
|
|
|
func init() {
|
|
testCases = append(testCases, testCase{
|
|
ptr: (*[]interface{})(nil),
|
|
inputs: []string{
|
|
`[]`, // valid
|
|
`[1]`, // valid
|
|
`[ 1, "hello"]`, // valid
|
|
`[abc]`, // invalid
|
|
`[`, // invalid
|
|
`[[]`, // invalid
|
|
},
|
|
})
|
|
}
|