mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Merge pull request #5446 from cakebaker/ls_try_get_matches_from
ls: use try_get_matches_from instead of get_matches_from
This commit is contained in:
commit
96d0830952
2 changed files with 27 additions and 7 deletions
|
@ -3569,6 +3569,20 @@ fn test_ls_dired_incompatible() {
|
|||
.stderr_contains("--dired requires --format=long");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_dired_and_zero_are_incompatible() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("--dired")
|
||||
.arg("-l")
|
||||
.arg("--zero")
|
||||
.fails()
|
||||
.code_is(2)
|
||||
.stderr_contains("--dired and --zero are incompatible");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_dired_recursive() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue