From 8d568bf7a8ec45744ccbcc664070d0f3933e9370 Mon Sep 17 00:00:00 2001 From: thinkerou Date: Wed, 29 Nov 2017 16:39:13 +0800 Subject: [PATCH] remove invalid test code --- binding/binding_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/binding/binding_test.go b/binding/binding_test.go index 02027901..0c0f9f81 100644 --- a/binding/binding_test.go +++ b/binding/binding_test.go @@ -1052,7 +1052,3 @@ func requestWithBody(method, path, body string) (req *http.Request) { req, _ = http.NewRequest(method, path, bytes.NewBufferString(body)) return } - -func TestEnsureNotPointer(t *testing.T) { - assert.Panics(t, func() { ensureNotPointer(&struct{}{}) }) -}