From 35a3f3627ce3f264129ee61bd417efb3d834b3f4 Mon Sep 17 00:00:00 2001 From: Talison Fabio <54823205+talis-fb@users.noreply.github.com> Date: Wed, 2 Apr 2025 21:21:14 -0300 Subject: [PATCH] fix: remove unnecessary allow_piped_choice check config on test --- tests/integration.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 2ec749a..7a5e549 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1,7 +1,7 @@ #[macro_use] mod utils; -use std::{iter::once, path::PathBuf}; +use std::{io::Write, iter::once, path::PathBuf}; use fs_err as fs; use parse_display::Display; @@ -363,7 +363,6 @@ fn multiple_files_with_conflict_and_choice_to_rename_with_already_a_renamed( assert_same_directory(src_files_path, dest_files_path_renamed.join("src_files"), false); } -#[cfg(feature = "allow_piped_choice")] #[proptest(cases = 25)] fn multiple_files_with_disabled_smart_unpack_by_dir( ext: DirectoryExtension, @@ -380,7 +379,7 @@ fn multiple_files_with_disabled_smart_unpack_by_dir( .map(|f| src_files_path.join(f)) .map(|path| { let mut file = fs::File::create(&path).unwrap(); - file.write("Some content".as_bytes()).unwrap(); + file.write_all("Some content".as_bytes()).unwrap(); path }) .collect::>();