mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-15 21:06:39 +08:00
add: test cases
This commit is contained in:
parent
802125c83d
commit
c030c4546a
@ -417,6 +417,9 @@ func TestTreeWildcardConflict(t *testing.T) {
|
||||
{"/user_:name", false},
|
||||
{"/id:id", false},
|
||||
{"/id/:id", false},
|
||||
{"/static/*file", false},
|
||||
{"/static/", true},
|
||||
{"/static/", false},
|
||||
}
|
||||
testRoutes(t, routes)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user