You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-12 22:47:42 +02:00
consolidate skip tests
This commit is contained in:
15
skip_tests/array_test.go
Normal file
15
skip_tests/array_test.go
Normal file
@ -0,0 +1,15 @@
|
||||
package skip_tests
|
||||
|
||||
func init() {
|
||||
testCases = append(testCases, testCase{
|
||||
ptr: (*[]interface{})(nil),
|
||||
inputs: []string{
|
||||
`[]`, // valid
|
||||
`[1]`, // valid
|
||||
`[ 1, "hello"]`, // valid
|
||||
`[abc]`, // invalid
|
||||
`[`, // invalid
|
||||
`[[]`, // invalid
|
||||
},
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user