We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the great tutorial!
You currently use http.NewRequest in your tests:
http.NewRequest
request, err := http.NewRequest(...) require.NoError(t, err)
This could be replaced with httptest.NewRequest which panics on error
httptest.NewRequest
request := httptest.NewRequest(...)
The text was updated successfully, but these errors were encountered:
Good idea. Thank you!
Sorry, something went wrong.
No branches or pull requests
Thanks for the great tutorial!
You currently use
http.NewRequest
in your tests:This could be replaced with
httptest.NewRequest
which panics on errorThe text was updated successfully, but these errors were encountered: