Skip to content

Commit 0a5cc10

Browse files
committed
compress: fix tests
1 parent 1bbb14b commit 0a5cc10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware/compress/zstd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func TestZstdEncoder(t *testing.T) {
3131
// Invalid EncoderConcurrency
3232
encoder := &Zstd{
3333
Options: []zstd.EOption{
34-
zstd.WithEncoderConcurrency(0),
34+
zstd.WithEncoderConcurrency(-1),
3535
},
3636
}
3737
encoder.NewWriter(bytes.NewBuffer([]byte{}))

0 commit comments

Comments
 (0)