(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestErrorHandler(t *testing.T) { |
| 39 | rr := httptest.NewRecorder() |
| 40 | err := errors.New("New error") |
| 41 | errorPage(rr, err) |
| 42 | } |
| 43 | |
| 44 | func TestIndexHandler(t *testing.T) { |
| 45 | req, err := http.NewRequest("GET", "/", nil) |
nothing calls this directly
no test coverage detected