| commit | ca3fec50c3d5ffe644ecd926c484baeb8af09f2e | [log] [tgz] |
|---|---|---|
| author | Julien Schmidt <github@julienschmidt.com> | Wed Jun 11 15:59:03 2014 +0200 |
| committer | Julien Schmidt <github@julienschmidt.com> | Wed Jun 11 15:59:03 2014 +0200 |
| tree | 151c1f5137cb1f47c9eb22ebde67955ea401f1d8 | |
| parent | 1371f052ac8e75ed49c88d9940be1ec569fb4f24 [diff] |
tree: test for #8 regression test for #8
diff --git a/tree_test.go b/tree_test.go index 62a1d2c..cf4d170 100644 --- a/tree_test.go +++ b/tree_test.go
@@ -374,6 +374,7 @@ "/doc/go1.html", "/no/a", "/no/b", + "/api/hello/:name", } for _, route := range routes { recv := catchPanic(func() { @@ -414,6 +415,7 @@ "/no/", "/_", "/_/", + "/api/world/abc", } for _, route := range noTsrRoutes { handler, _, tsr := tree.getValue(route)