- Notifications
You must be signed in to change notification settings - Fork1k
Commit5ef59e7

Jonathan Yu
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 desired1 parent37bcfeb commit5ef59e7
3 files changed
+178
-115
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 | 44 |
| |
46 | 45 |
| |
47 | 46 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1104 | 1104 |
| |
1105 | 1105 |
| |
1106 | 1106 |
| |
1107 |
| - | |
1108 |
| - | |
1109 | 1107 |
| |
1110 | 1108 |
| |
1111 | 1109 |
| |
|
0 commit comments
Comments
(0)