mirror of
https://github.com/json-iterator/go.git
synced 2024-12-03 08:45:22 +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
|
|
},
|
|
})
|
|
}
|