Skip to content

Commit

Permalink
ls: add an ignored test for issue #6488 (--dired / --format order mat…
Browse files Browse the repository at this point in the history
…ters)
  • Loading branch information
sylvestre committed Jun 22, 2024
1 parent cd44a3d commit 32aa1f6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/by-util/test_ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3969,6 +3969,29 @@ fn test_ls_dired_hyperlink() {
.stdout_contains("//DIRED//");
}

#[ignore = "issue #6488"]
#[test]
fn test_ls_dired_order_format() {
let scene = TestScenario::new(util_name!());
let at = &scene.fixtures;
at.mkdir("dir");
at.touch("dir/a");
scene

Check warning on line 3979 in tests/by-util/test_ls.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_ls.rs#L3974-L3979

Added lines #L3974 - L3979 were not covered by tests
.ucmd()
.arg("--dired")
.arg("--format=vertical")
.arg("-R")
.succeeds()
.stdout_does_not_contain("//DIRED//");
scene

Check warning on line 3986 in tests/by-util/test_ls.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_ls.rs#L3985-L3986

Added lines #L3985 - L3986 were not covered by tests
.ucmd()
.arg("--format=vertical")
.arg("--dired")
.arg("-R")
.succeeds()
.stdout_contains("//DIRED//");

Check warning on line 3992 in tests/by-util/test_ls.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_ls.rs#L3992

Added line #L3992 was not covered by tests
}

#[test]
fn test_ls_dired_and_zero_are_incompatible() {
let scene = TestScenario::new(util_name!());
Expand Down

0 comments on commit 32aa1f6

Please sign in to comment.