1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Add unrelated route to group test with match any

This commit is contained in:
Roland Lammel 2019-10-04 19:58:52 +02:00
parent 59a25f13bb
commit 616db6dbad

View File

@ -87,6 +87,7 @@ func TestGroupRouteMiddlewareWithMatchAny(t *testing.T) {
g.GET("/help", h, m2)
g.GET("/*", h, m2)
g.GET("", h, m2)
e.GET("unrelated", h, m2)
e.GET("*", h, m2)
_, m := request(http.MethodGet, "/group/help", e)