1
0
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:
Tao Wen
2018-02-13 20:41:21 +08:00
parent 0ed9de94f2
commit c3b6c1e845
14 changed files with 122 additions and 195 deletions

17
skip_tests/string_test.go Normal file
View 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
},
})
}