MCPcopy Index your code
hub / github.com/labstack/echo / TestRouterMixedParams

Function TestRouterMixedParams

router_test.go:2403–2414  ·  view source on GitHub ↗

Issue #1139

(t *testing.T)

Source from the content-addressed store, hash-verified

2401
2402// Issue #1139
2403func 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
2417func TestRouterParam1466(t *testing.T) {

Callers

nothing calls this directly

Calls 1

testRouterAPIFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…