Skip to content

net/http/httptest: adds test for #37650 #37686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

net/http/httptest: adds test for #37650 #37686

wants to merge 1 commit into from

Conversation

elgohr
Copy link

@elgohr elgohr commented Mar 5, 2020

This PR adds tests for #37650.
It does not add a fix, so please take this as a starting point.

@googlebot googlebot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label Mar 5, 2020
@gopherbot
Copy link
Contributor

This PR (HEAD: fa21aeb) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/222117 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

This PR is being closed because golang.org/cl/222117 has been abandoned.

Issue #37650 was a misunderstanding about ResponseWriter, the remedy was to properly use ResponseRecorder.Result() to get the http.Response.

@gopherbot gopherbot closed this Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants