Skip to content

Commit

Permalink
tree: test for buaazp#8
Browse files Browse the repository at this point in the history
regression test for buaazp#8
  • Loading branch information
julienschmidt committed Jun 11, 2014
1 parent 1371f05 commit ca3fec5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ func TestTreeTrailingSlashRedirect(t *testing.T) {
"/doc/go1.html",
"/no/a",
"/no/b",
"/api/hello/:name",
}
for _, route := range routes {
recv := catchPanic(func() {
Expand Down Expand Up @@ -414,6 +415,7 @@ func TestTreeTrailingSlashRedirect(t *testing.T) {
"/no/",
"/_",
"/_/",
"/api/world/abc",
}
for _, route := range noTsrRoutes {
handler, _, tsr := tree.getValue(route)
Expand Down

0 comments on commit ca3fec5

Please sign in to comment.