(t *testing.T)
| 114 | } |
| 115 | |
| 116 | func TestRouterGroupInvalidStaticFileFS(t *testing.T) { |
| 117 | router := New() |
| 118 | assert.Panics(t, func() { |
| 119 | router.StaticFileFS("/path/:param", "favicon.ico", Dir(".", false)) |
| 120 | }) |
| 121 | |
| 122 | assert.Panics(t, func() { |
| 123 | router.StaticFileFS("/path/*param", "favicon.ico", Dir(".", false)) |
| 124 | }) |
| 125 | } |
| 126 | |
| 127 | func TestRouterGroupTooManyHandlers(t *testing.T) { |
| 128 | const ( |
nothing calls this directly
no test coverage detected