Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor error handling and response assertions
- Remove the assertion for the response status code being equal to `http.StatusInternalServerError` - Add a defer statement to close the response body - Add an assertion for the response status code being equal to `http.StatusInternalServerError` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Loading branch information