Skip to content

Commit abca85a

Browse files
VojtechVitekclaude
andcommitted
test(middleware): update default compressible types count to 12
PR #1126 added application/xml and text/xml to defaultCompressibleContentTypes but did not update the TestCompressorWildcards/defaults assertion, which hardcoded the expected count at 10. Bump it to 12 so the suite passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 08605fb commit abca85a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware/compress_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func TestCompressorWildcards(t *testing.T) {
119119
}{
120120
{
121121
name: "defaults",
122-
typesCount: 10,
122+
typesCount: 12,
123123
},
124124
{
125125
name: "no wildcard",

0 commit comments

Comments
 (0)