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

Function TestRouterParamAlias

router_test.go:2371–2378  ·  view source on GitHub ↗

Issue #729

(t *testing.T)

Source from the content-addressed store, hash-verified

2369
2370// Issue #729
2371func TestRouterParamAlias(t *testing.T) {
2372 api := []testRoute{
2373 {http.MethodGet, "/users/:userID/following", ""},
2374 {http.MethodGet, "/users/:userID/followedBy", ""},
2375 {http.MethodGet, "/users/:userID/follow", ""},
2376 }
2377 testRouterAPI(t, api)
2378}
2379
2380// Issue #1052
2381func TestRouterParamOrdering(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…