-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch from memfs to fstest.MapFS (#327)
* Switch from memfs to built-in fstest.MapFS * Ensure httptest servers are closed during test cleanup * Swap ordering of expected/actual values in assertion functions * Use http.StatusOK constants for status codes * Add a 1-second context timeout for each request * Use the test httptest.Server.Client() so that we can handle TLS server certificates if desired
- Loading branch information
Showing
3 changed files
with
178 additions
and
115 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
Oops, something went wrong.