remove invalid test code

This commit is contained in:
thinkerou 2017-11-29 16:39:13 +08:00
parent 331e411baa
commit 8d568bf7a8

View File

@ -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{}{}) })
}