fix: remove unnecessary allow_piped_choice check config on test

This commit is contained in:
Talison Fabio 2025-04-02 21:21:14 -03:00 committed by João Marcos
parent 081642724e
commit 35a3f3627c

View File

@ -1,7 +1,7 @@
#[macro_use] #[macro_use]
mod utils; mod utils;
use std::{iter::once, path::PathBuf}; use std::{io::Write, iter::once, path::PathBuf};
use fs_err as fs; use fs_err as fs;
use parse_display::Display; 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); assert_same_directory(src_files_path, dest_files_path_renamed.join("src_files"), false);
} }
#[cfg(feature = "allow_piped_choice")]
#[proptest(cases = 25)] #[proptest(cases = 25)]
fn multiple_files_with_disabled_smart_unpack_by_dir( fn multiple_files_with_disabled_smart_unpack_by_dir(
ext: DirectoryExtension, ext: DirectoryExtension,
@ -380,7 +379,7 @@ fn multiple_files_with_disabled_smart_unpack_by_dir(
.map(|f| src_files_path.join(f)) .map(|f| src_files_path.join(f))
.map(|path| { .map(|path| {
let mut file = fs::File::create(&path).unwrap(); let mut file = fs::File::create(&path).unwrap();
file.write("Some content".as_bytes()).unwrap(); file.write_all("Some content".as_bytes()).unwrap();
path path
}) })
.collect::<Vec<_>>(); .collect::<Vec<_>>();