From 82fbcf539ea6c5d0d7c6d113761027af21f9fa81 Mon Sep 17 00:00:00 2001 From: thinkerou Date: Thu, 23 Nov 2017 21:58:54 +0800 Subject: [PATCH] remove --- context_test.go | 3 --- 1 file changed, 3 deletions(-) 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)