Skip to content

Commit

Permalink
exhibit a bug in Tail
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatsuo committed Apr 23, 2014
1 parent 36e27e5 commit 6471c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mux_test.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 6471c5e

Please sign in to comment.