MCPcopy Create free account
hub / github.com/buger/jsonparser / unescapeTest

Struct unescapeTest

escape_test.go:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110type unescapeTest struct {
111 in string // escaped string
112 out string // expected unescaped string
113 canAlloc bool // can unescape cause an allocation (depending on buffer size)? true iff 'in' contains escape sequence(s)
114 isErr bool // should this operation result in an error
115}
116
117var unescapeTests = []unescapeTest{
118 {in: ``, out: ``, canAlloc: false},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected