fix(tests): update test cases

This commit is contained in:
hkfires
2026-04-08 08:53:50 +08:00
parent fcc59d606d
commit d390b95b76
6 changed files with 27 additions and 133 deletions

View File

@@ -129,11 +129,11 @@ func TestModifyResponse_GzipScenarios(t *testing.T) {
wantCE: "",
},
{
name: "skips_non_2xx_status",
name: "decompresses_non_2xx_status_when_gzip_detected",
header: http.Header{},
body: good,
status: 404,
wantBody: good,
wantBody: goodJSON,
wantCE: "",
},
}