(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestHandlerModule(t *testing.T) { |
| 89 | r := mux.NewRouter() |
| 90 | s := HandlerServlet("/ok", h) |
| 91 | s.RegisterRouting(r) |
| 92 | assert.HTTPBodyContains(t, r.ServeHTTP, "GET", "/ok", nil, "great success") |
| 93 | } |
| 94 | |
| 95 | func TestPrefixModule(t *testing.T) { |
| 96 | r := mux.NewRouter() |
nothing calls this directly
no test coverage detected