-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add test cases and improvements to benchmark test
- Add a test case for a GET request with a specific header - Add an assertion for the response code in the test case - Add a test case for a GET request with a specific header and query parameter - Add an assertion for the response code in the test case - Add a test case for a GET request with a specific header and query parameter - Add an assertion for the response code in the test case - Update the benchmark test to use `http.NewRequestWithContext` instead of `http.NewRequest` - Add error handling for `NewRequestWithContext` in the benchmark test - Update the comment in the `WithSkipPath` function Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters