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

Function TestRemoval2_TokenEnd_NoDelimiter

dead_code_audit_test.go:99–105  ·  view source on GitHub ↗

Verifies: SYS-REQ-044 [boundary]

(t *testing.T)

Source from the content-addressed store, hash-verified

97
98// Verifies: SYS-REQ-044 [boundary]
99func TestRemoval2_TokenEnd_NoDelimiter(t *testing.T) {
100 // Input with no delimiter characters at all
101 result := tokenEnd([]byte("12345"))
102 if result != 5 {
103 t.Fatalf("tokenEnd(12345) = %d, want 5 (len)", result)
104 }
105}
106
107// Verifies: SYS-REQ-044 [boundary]
108func TestRemoval2_TokenEnd_NeverReturnsNegative(t *testing.T) {

Callers

nothing calls this directly

Calls 1

tokenEndFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…