Skip to content

Commit ce14b16

Browse files
committed
remove duplicate test
1 parent 54665dd commit ce14b16

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/test_util_name.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,6 @@ fn execution_phrase_double() {
2323
.contains(&format!("Usage: {} ls", scenario.bin_path.display(),)));
2424
}
2525

26-
#[test]
27-
#[cfg(feature = "ls")]
28-
#[cfg(any(unix, windows))]
29-
fn execution_phrase_single() {
30-
use std::process::Command;
31-
32-
let scenario = TestScenario::new("ls");
33-
symlink_file(&scenario.bin_path, scenario.fixtures.plus("uu-ls")).unwrap();
34-
let output = Command::new(scenario.fixtures.plus("uu-ls"))
35-
.arg("--some-invalid-arg")
36-
.output()
37-
.unwrap();
38-
dbg!(String::from_utf8(output.stderr.clone()).unwrap());
39-
assert!(String::from_utf8(output.stderr).unwrap().contains(&format!(
40-
"Usage: {}",
41-
scenario.fixtures.plus("uu-ls").display()
42-
)));
43-
}
44-
4526
#[test]
4627
#[cfg(feature = "sort")]
4728
fn util_name_double() {

0 commit comments

Comments
 (0)