mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
rm: fix 3 leading hyphens for ---presume-input-tty
This commit is contained in:
parent
951f3bb689
commit
270a6ee83e
2 changed files with 4 additions and 27 deletions
|
@ -316,19 +316,6 @@ fn test_rm_verbose_slash() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_rm_silently_accepts_presume_input_tty1() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let file_1 = "test_rm_silently_accepts_presume_input_tty1";
|
||||
|
||||
at.touch(file_1);
|
||||
|
||||
ucmd.arg("--presume-input-tty").arg(file_1).succeeds();
|
||||
|
||||
assert!(!at.file_exists(file_1));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_rm_silently_accepts_presume_input_tty2() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let file_2 = "test_rm_silently_accepts_presume_input_tty2";
|
||||
|
@ -339,16 +326,3 @@ fn test_rm_silently_accepts_presume_input_tty2() {
|
|||
|
||||
assert!(!at.file_exists(file_2));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_rm_silently_accepts_presume_input_tty3() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let file_3 = "test_rm_silently_accepts_presume_input_tty3";
|
||||
|
||||
at.touch(file_3);
|
||||
|
||||
ucmd.arg("----presume-input-tty").arg(file_3).succeeds();
|
||||
|
||||
assert!(!at.file_exists(file_3));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue