diff --git a/mux_test.go b/mux_test.go index 3399c00..a340781 100644 --- a/mux_test.go +++ b/mux_test.go @@ -228,6 +228,8 @@ func TestTail(t *testing.T) { {"/:a/", "/x/", ""}, {"/:a", "/x/y/z", ""}, {"/b/:a", "/x/y/z", ""}, + {"/hello/:title/", "/hello/mr/mizerany", "mizerany"}, + {"/:a/", "/x/y/z", "y/z"}, } { tail := Tail(test.pat, test.path) if tail != test.expect {