mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
remove invalid test code
This commit is contained in:
parent
331e411baa
commit
8d568bf7a8
@ -1052,7 +1052,3 @@ func requestWithBody(method, path, body string) (req *http.Request) {
|
|||||||
req, _ = http.NewRequest(method, path, bytes.NewBufferString(body))
|
req, _ = http.NewRequest(method, path, bytes.NewBufferString(body))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestEnsureNotPointer(t *testing.T) {
|
|
||||||
assert.Panics(t, func() { ensureNotPointer(&struct{}{}) })
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user