From 1e4dcc99284edbc179903e59e8ffa92af688d939 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Fri, 14 Jun 2024 13:51:27 -0700 Subject: [PATCH] test: Fix a bug in test_invalid_extra_data when building without Zopfli --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index 484eaff9..a7f5a287 100644 --- a/src/write.rs +++ b/src/write.rs @@ -2590,7 +2590,7 @@ mod test { .into(), }, alignment: 32787, - zopfli_buffer_size: None, + ..Default::default() }; assert!(writer.start_file_from_path("", options).is_err()); Ok(())