MCPcopy Index your code
hub / github.com/buger/jsonparser / TestRemoval1_Unescape_ConsecutiveEscapes

Function TestRemoval1_Unescape_ConsecutiveEscapes

dead_code_audit_test.go:772–780  ·  view source on GitHub ↗

Verifies: SYS-REQ-014 [boundary]

(t *testing.T)

Source from the content-addressed store, hash-verified

770
771// Verifies: SYS-REQ-014 [boundary]
772func TestRemoval1_Unescape_ConsecutiveEscapes(t *testing.T) {
773 out, err := Unescape([]byte(`\n\t\r`), make([]byte, 64))
774 if err != nil {
775 t.Fatalf("unexpected error: %v", err)
776 }
777 if string(out) != "\n\t\r" {
778 t.Fatalf("unexpected result: %q", out)
779 }
780}
781
782// Verifies: SYS-REQ-014 [boundary]
783func TestRemoval1_Unescape_EscapedQuote(t *testing.T) {

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…