github.com/bingoohuang/gg@v0.0.0-20240325092523-45da7dee9335/pkg/jsoni/skip_tests/array_test.go (about)

     1  package skip_tests
     2  
     3  func init() {
     4  	testCases = append(testCases, testCase{
     5  		ptr: (*[]interface{})(nil),
     6  		inputs: []string{
     7  			`[]`,             // valid
     8  			`[1]`,            // valid
     9  			`[  1, "hello"]`, // valid
    10  			`[abc]`,          // invalid
    11  			`[`,              // invalid
    12  			`[[]`,            // invalid
    13  		},
    14  	})
    15  }