Skip to content

Commit

Permalink
fix test for unicode case insensitive routing
Browse files Browse the repository at this point in the history
  • Loading branch information
vito committed Jun 20, 2022
1 parent 3b7f622 commit 5966737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/router/radix/tree_test.go
Expand Up @@ -212,6 +212,7 @@ func TestMatch(t *testing.T) {
},
requests: []*request{
{path: "/a", route: "/a"},
{path: "/A", route: "/a"},
{path: "/", nomatch: true},
{path: "/hi", route: "/hi"},
{path: "/about", route: "/about"},
Expand All @@ -220,7 +221,7 @@ func TestMatch(t *testing.T) {
{path: "/abou", nomatch: true}, // key mismatch
{path: "/no", nomatch: true}, // no matching child
{path: "/α", route: "/α"},
{path: "/β", route: "/β"},
{path: "/β", route: "/α"},
{path: "/αβ", nomatch: true},
{path: "/users/id", route: "/users/id"},
{path: "/users/10", route: "/users/:id", slots: "id=10"},
Expand Down

0 comments on commit 5966737

Please sign in to comment.