(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func TestPrefixModule(t *testing.T) { |
| 96 | r := mux.NewRouter() |
| 97 | hm := HandlerServlet("/ok", h) |
| 98 | s := PrefixServlet(hm, "/foo") |
| 99 | s.RegisterRouting(r) |
| 100 | assert.HTTPBodyContains(t, r.ServeHTTP, "GET", "/foo/ok", nil, "great success") |
| 101 | } |
| 102 | |
| 103 | type ctxKey int |
| 104 |
nothing calls this directly
no test coverage detected