(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestCountParams(t *testing.T) { |
| 108 | if countParams("/path/:param1/static/*catch-all") != 2 { |
| 109 | t.Fail() |
| 110 | } |
| 111 | if countParams(strings.Repeat("/:param", 256)) != 255 { |
| 112 | t.Fail() |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | func TestTreeAddAndGet(t *testing.T) { |
| 117 | tree := &node{} |
nothing calls this directly
no test coverage detected