Verifies: SYS-REQ-001 [mcdc]
(t *testing.T)
| 43 | |
| 44 | // Verifies: SYS-REQ-001 [mcdc] |
| 45 | func TestCodeMCDC_TokenEndDirect(t *testing.T) { |
| 46 | // tokenEnd scans forward looking for a delimiter. Drive the c != 9 |
| 47 | // (TAB) operand as the independent flipper. |
| 48 | if got := tokenEnd([]byte("abc\t")); got != 3 { |
| 49 | t.Errorf("tokenEnd(abc\\t) = %d, want 3", got) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // ----------------------------------------------------------------------------- |
| 54 | // lastToken / tokenStart / tokenEnd — drive each whitespace branch. |
nothing calls this directly
no test coverage detected