mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 13:22:09 +08:00
add failing edgecase
This commit is contained in:
parent
37a79bff73
commit
fb4b3a57ed
@ -317,6 +317,8 @@ func TestTreeWildcard(t *testing.T) {
|
||||
{"/get/abc/123abf/testss", false, "/get/abc/123abf/:param", Params{Param{Key: "param", Value: "testss"}}},
|
||||
{"/get/abc/123abfff/te", false, "/get/abc/123abfff/:param", Params{Param{Key: "param", Value: "te"}}},
|
||||
{"/get/address/B", false, "/get/address/:address", Params{{Key: "address", Value: "B"}}},
|
||||
{"/get/address/https://nono.de", false, "/get/address/:address", Params{{Key: "address", Value: "https://nono.de"}}},
|
||||
{"/get/address/https%3A%2F%2Fnono.de", false, "/get/address/:address", Params{{Key: "address", Value: "https://nono.de"}}},
|
||||
})
|
||||
|
||||
checkPriorities(t, tree)
|
||||
|
Loading…
x
Reference in New Issue
Block a user