From b6bf1fa7e016672a64764856c71babe73c0298b6 Mon Sep 17 00:00:00 2001 From: tommady Date: Tue, 29 Apr 2025 06:29:51 +0000 Subject: [PATCH] fix merge main branch then the test case failed Signed-off-by: tommady --- tests/integration.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 0ebf517..f85e254 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -387,7 +387,7 @@ fn smart_unpack_with_single_file( }) .collect::>(); - let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, extra_extensions))); + let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, &extra_extensions))); crate::utils::cargo_bin() .arg("compress") @@ -438,7 +438,7 @@ fn smart_unpack_with_multiple_files( .map(|entry| entry.unwrap().path()) .collect::>(); - let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, extra_extensions))); + let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, &extra_extensions))); let output_path = root_path.join("archive"); assert!(!output_path.exists()); @@ -487,7 +487,7 @@ fn no_smart_unpack_with_single_file( .map(|entry| entry.unwrap().path()) .collect::>(); - let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, extra_extensions))); + let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, &extra_extensions))); let output_path = root_path.join("archive"); assert!(!output_path.exists()); @@ -537,7 +537,7 @@ fn no_smart_unpack_with_multiple_files( .map(|entry| entry.unwrap().path()) .collect::>(); - let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, extra_extensions))); + let archive = &root_path.join(format!("archive.{}", merge_extensions(&ext, &extra_extensions))); let output_path = root_path.join("archive"); assert!(!output_path.exists());