(method, path string, e *Echo)
| 1266 | } |
| 1267 | |
| 1268 | func request(method, path string, e *Echo) (int, string) { |
| 1269 | req := httptest.NewRequest(method, path, nil) |
| 1270 | rec := httptest.NewRecorder() |
| 1271 | e.ServeHTTP(rec, req) |
| 1272 | return rec.Code, rec.Body.String() |
| 1273 | } |
| 1274 | |
| 1275 | type customError struct { |
| 1276 | Code int |
no test coverage detected
searching dependent graphs…