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

Function TestRemoval7_NextToken_WhitespaceOnly

dead_code_audit_test.go:545–550  ·  view source on GitHub ↗

Verifies: SYS-REQ-001 [boundary]

(t *testing.T)

Source from the content-addressed store, hash-verified

543
544// Verifies: SYS-REQ-001 [boundary]
545func TestRemoval7_NextToken_WhitespaceOnly(t *testing.T) {
546 result := nextToken([]byte(" \t\n"))
547 if result != -1 {
548 t.Fatalf("nextToken(whitespace) = %d, expected -1", result)
549 }
550}
551
552// Verifies: SYS-REQ-001 [boundary]
553func TestRemoval7_FindKeyStart_NextTokenGuaranteesNonEmpty(t *testing.T) {

Callers

nothing calls this directly

Calls 1

nextTokenFunction · 0.85

Tested by

no test coverage detected