diff --git a/context_test.go b/context_test.go index db99edbc..9024cfc1 100644 --- a/context_test.go +++ b/context_test.go @@ -677,9 +677,6 @@ func TestContextRenderHTML(t *testing.T) { w := httptest.NewRecorder() c, router := CreateTestContext(w) - router.addRoute("GET", "/", HandlersChain{func(_ *Context) {}}) - assert.Len(t, router.trees, 1) - templ := template.Must(template.New("t").Parse(`Hello {{.name}}`)) router.SetHTMLTemplate(templ)