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

Function TestRemoval3_DecodeSingleUnicodeEscape_MinValue

dead_code_audit_test.go:218–226  ·  view source on GitHub ↗

Verifies: SYS-REQ-014 [boundary]

(t *testing.T)

Source from the content-addressed store, hash-verified

216
217// Verifies: SYS-REQ-014 [boundary]
218func TestRemoval3_DecodeSingleUnicodeEscape_MinValue(t *testing.T) {
219 r, ok := decodeSingleUnicodeEscape([]byte(`\u0000`))
220 if !ok {
221 t.Fatal("failed to decode \\u0000")
222 }
223 if r != 0 {
224 t.Fatalf("expected 0, got 0x%X", r)
225 }
226}
227
228// Verifies: SYS-REQ-014 [boundary]
229func TestRemoval3_DecodeUnicodeEscape_BMP_NonSurrogate(t *testing.T) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…