============================================================================= REMOVAL 2: `end == -1` guard removed in getType tokenEnd returns len(data) instead of -1. Verify behavior for edge cases. ============================================================================= Verifies: SYS-REQ-044
(t *testing.T)
| 89 | |
| 90 | // Verifies: SYS-REQ-044 [boundary] |
| 91 | func TestRemoval2_TokenEnd_EmptyInput(t *testing.T) { |
| 92 | result := tokenEnd([]byte{}) |
| 93 | if result != 0 { |
| 94 | t.Fatalf("tokenEnd([]) = %d, want 0", result) |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | // Verifies: SYS-REQ-044 [boundary] |
| 99 | func TestRemoval2_TokenEnd_NoDelimiter(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…