(t *testing.T, name string, c byteRanger, wantIndex, wantLength int)
| 258 | } |
| 259 | |
| 260 | func assertByteRange(t *testing.T, name string, c byteRanger, wantIndex, wantLength int) { |
| 261 | t.Helper() |
| 262 | gotIndex, gotLength := c.ByteRange() |
| 263 | if gotIndex != wantIndex || gotLength != wantLength { |
| 264 | t.Fatalf("%s ByteRange wanted (%v, %v) got (%v, %v)", name, wantIndex, wantLength, gotIndex, gotLength) |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | func TestEscapeUnescape_Basic(t *testing.T) { |
| 269 | s1 := "#$^*+(){}<>\\|. " |
no test coverage detected