You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
consolidate skip tests
This commit is contained in:
17
skip_tests/string_test.go
Normal file
17
skip_tests/string_test.go
Normal file
@ -0,0 +1,17 @@
|
||||
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
|
||||
},
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user