mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-21 16:58:08 +08:00
fix code lint
This commit is contained in:
parent
9b524ca5d6
commit
0686554bcd
@ -565,7 +565,6 @@ func createFormFilesMultipartRequest(t *testing.T) *http.Request {
|
||||
defer f.Close()
|
||||
fw, err1 := mw.CreateFormFile("file", "form.go")
|
||||
assert.NoError(t, err1)
|
||||
|
||||
io.Copy(fw, f)
|
||||
|
||||
req, err2 := http.NewRequest("POST", "/?foo=getfoo&bar=getbar", body)
|
||||
|
Loading…
x
Reference in New Issue
Block a user