(t *testing.T)
| 983 | } |
| 984 | |
| 985 | func Test_App_Remove_Route_Parameterized(t *testing.T) { |
| 986 | t.Parallel() |
| 987 | app := New() |
| 988 | |
| 989 | app.Get("/test/:id", func(c Ctx) error { |
| 990 | return c.SendStatus(StatusOK) |
| 991 | }) |
| 992 | verifyRequest(t, app, "/test/:id", StatusOK) |
| 993 | app.RemoveRoute("/test/:id", MethodGet) |
| 994 | |
| 995 | verifyThereAreNoRoutes(t, app) |
| 996 | } |
| 997 | |
| 998 | func Test_App_Remove_Route(t *testing.T) { |
| 999 | t.Parallel() |
nothing calls this directly
no test coverage detected