From d023efc71badde52232ed72bb98a77112513e090 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Sat, 26 Nov 2022 01:23:33 -0800 Subject: [PATCH] Config-gate gzip test --- src/pool.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pool.rs b/src/pool.rs index fb26c397..867b155c 100644 --- a/src/pool.rs +++ b/src/pool.rs @@ -446,6 +446,7 @@ mod tests { // decoder reads the exact amount from a chunked stream, not past the 0. This // happens because gzip has built-in knowledge of the length to read. #[test] + #[cfg(feature = "gzip")] fn read_exact_chunked_gzip() { let gz_body = vec![ b'E', b'\r', b'\n', // 14 first chunk