diff options
author | Jay <jytrn@protonmail.com> | 2020-10-25 14:45:24 +0000 |
---|---|---|
committer | Abin Simon <abinsimon10@gmail.com> | 2020-10-28 22:43:11 +0530 |
commit | d272f1023e4fd761d29c843ee0d76eb69d66a063 (patch) | |
tree | ae1450a29e974ecb94f43eab825961f74810bae1 /tests | |
parent | f8a3820583a35991005ab3028c28617f754dec15 (diff) |
remove test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/integration.rs b/tests/integration.rs index ce34d9c..80b5ca4 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -401,24 +401,6 @@ fn test_bad_utf_8_name() { .stdout(predicate::str::is_match("bad-name\u{fffd}\u{fffd}.ext\n$").unwrap()); } -#[test] -fn test_tree_d() { - let tmp = tempdir(); - tmp.child("one").touch().unwrap(); - tmp.child("two").touch().unwrap(); - tmp.child("one.d").create_dir_all().unwrap(); - tmp.child("one.d/one").touch().unwrap(); - tmp.child("one.d/one.d").create_dir_all().unwrap(); - tmp.child("two.d").create_dir_all().unwrap(); - - cmd() - .arg(tmp.path()) - .arg("--tree") - .arg("-d") - .assert() - .stdout(predicate::str::is_match("├── one.d\n│ └── one.d\n└── two.d\n$").unwrap()); -} - #[cfg(test)] fn cmd() -> Command { Command::cargo_bin(env!("CARGO_PKG_NAME")).unwrap() |