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

Function TestRemoval7_NextToken_WhitespaceOnly

dead_code_audit_test.go:539–544  ·  view source on GitHub ↗

Verifies: SYS-REQ-001 [boundary]

(t *testing.T)

Source from the content-addressed store, hash-verified

537
538// Verifies: SYS-REQ-001 [boundary]
539func TestRemoval7_NextToken_WhitespaceOnly(t *testing.T) {
540 result := nextToken([]byte(" \t\n"))
541 if result != -1 {
542 t.Fatalf("nextToken(whitespace) = %d, expected -1", result)
543 }
544}
545
546// Verifies: SYS-REQ-001 [boundary]
547func TestRemoval7_FindKeyStart_NextTokenGuaranteesNonEmpty(t *testing.T) {

Callers

nothing calls this directly

Calls 1

nextTokenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…