Skip to content

Commit

Permalink
mockhttp small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Feb 1, 2024
1 parent 4013f18 commit e9df68c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mockhttp/mockhttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func (p *FooServer) handle(w http.ResponseWriter, req *http.Request) {
}

func (p *FooServer) postDump(w http.ResponseWriter, req *http.Request) {
// req.Body.Close()
io.Copy(w, req.Body)
}

Expand Down

0 comments on commit e9df68c

Please sign in to comment.