(t *testing.T)
| 203 | } |
| 204 | |
| 205 | func TestRouter_TrailingSlash(t *testing.T) { |
| 206 | r := newTestRouter() |
| 207 | insertRoute(r, "GET", "/path") |
| 208 | |
| 209 | _, _, found := r.Search("GET", "/path") |
| 210 | if !found { |
| 211 | t.Error("expected /path to match") |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | func TestRouter_ManyRoutes(t *testing.T) { |
| 216 | r := newTestRouter() |
nothing calls this directly
no test coverage detected