summaryrefslogtreecommitdiff
path: root/tests/src/tests.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-27 17:16:42 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-27 17:16:42 +0100
commit3b9acf556337b9b2521bd48bd8dd3ad1a6079bf8 (patch)
treee1ad3750a4bb0039caf3ea599faf6fef4f472b0d /tests/src/tests.rs
parent713cde11364121e2071dde45138ae560e3b8fe41 (diff)
Bump dependencies
Diffstat (limited to 'tests/src/tests.rs')
-rw-r--r--tests/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index d801209e..eb2a5f06 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -500,7 +500,7 @@ fn get_flag_metadata(line: &str, key: &str) -> Option<bool> {
fn update_image(png_path: &Path, ref_path: &Path) {
oxipng::optimize(
&InFile::Path(png_path.to_owned()),
- &OutFile::Path(Some(ref_path.to_owned())),
+ &OutFile::from_path(ref_path.to_owned()),
&Options::max_compression(),
)
.unwrap();