MCPcopy
hub / github.com/buger/jsonparser / TestRemoval1_Unescape_EscapedQuote

Function TestRemoval1_Unescape_EscapedQuote

dead_code_audit_test.go:783–791  ·  view source on GitHub ↗

Verifies: SYS-REQ-014 [boundary]

(t *testing.T)

Source from the content-addressed store, hash-verified

781
782// Verifies: SYS-REQ-014 [boundary]
783func TestRemoval1_Unescape_EscapedQuote(t *testing.T) {
784 out, err := Unescape([]byte(`hello\"world`), make([]byte, 64))
785 if err != nil {
786 t.Fatalf("unexpected error: %v", err)
787 }
788 if string(out) != `hello"world` {
789 t.Fatalf("unexpected result: %q", out)
790 }
791}

Callers

nothing calls this directly

Calls 1

UnescapeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…