()
| 36 | } |
| 37 | |
| 38 | func (t FindTest) String() string { |
| 39 | return fmt.Sprintf("pat: %#q text: %#q", t.pat, t.text) |
| 40 | } |
| 41 | |
| 42 | // build is a helper to construct [][]int from variadic args. |
| 43 | // n is number of matches, x contains indices for each match. |
no outgoing calls
no test coverage detected