Issue #1139
(t *testing.T)
| 2401 | |
| 2402 | // Issue #1139 |
| 2403 | func TestRouterMixedParams(t *testing.T) { |
| 2404 | api := []testRoute{ |
| 2405 | {http.MethodGet, "/teacher/:tid/room/suggestions", ""}, |
| 2406 | {http.MethodGet, "/teacher/:id", ""}, |
| 2407 | } |
| 2408 | testRouterAPI(t, api) |
| 2409 | api2 := []testRoute{ |
| 2410 | {http.MethodGet, "/teacher/:id", ""}, |
| 2411 | {http.MethodGet, "/teacher/:tid/room/suggestions", ""}, |
| 2412 | } |
| 2413 | testRouterAPI(t, api2) |
| 2414 | } |
| 2415 | |
| 2416 | // Issue #1466 |
| 2417 | func TestRouterParam1466(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…