mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-17 05:42:09 +08:00
add comments
This commit is contained in:
parent
12bd84e941
commit
4c4e5d665c
@ -222,6 +222,7 @@ func TestTreeWildcard(t *testing.T) {
|
|||||||
{"/a", false, "/:cc", Params{Param{Key: "cc", Value: "a"}}},
|
{"/a", false, "/:cc", Params{Param{Key: "cc", Value: "a"}}},
|
||||||
// * Error with argument being intercepted
|
// * Error with argument being intercepted
|
||||||
// new PR handle (/all /all/cc /a/cc)
|
// new PR handle (/all /all/cc /a/cc)
|
||||||
|
// fix PR: https://github.com/gin-gonic/gin/pull/2796
|
||||||
{"/all", false, "/:cc", Params{Param{Key: "cc", Value: "all"}}},
|
{"/all", false, "/:cc", Params{Param{Key: "cc", Value: "all"}}},
|
||||||
{"/d", false, "/:cc", Params{Param{Key: "cc", Value: "d"}}},
|
{"/d", false, "/:cc", Params{Param{Key: "cc", Value: "d"}}},
|
||||||
{"/ad", false, "/:cc", Params{Param{Key: "cc", Value: "ad"}}},
|
{"/ad", false, "/:cc", Params{Param{Key: "cc", Value: "ad"}}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user