retrigger tests for issue #582

This commit is contained in:
Gasu16 2021-11-24 13:05:11 +01:00 committed by Wei Zhang
parent c49a67085a
commit 3a28c71cfe
2 changed files with 2 additions and 6 deletions

View file

@ -28,8 +28,7 @@ impl Configurable<Self> for Display {
if matches.is_present("all") {
if matches.is_present("directory-only") {
Some(Self::DirectoryOnly)
}
else {
} else {
Some(Self::All)
}
} else if matches.is_present("almost-all") {

View file

@ -644,8 +644,5 @@ fn test_all_directory() {
.arg("-d")
.arg(dir.path())
.assert()
.stdout(
predicate::str::is_match(".")
.unwrap(),
);
.stdout(predicate::str::is_match(".").unwrap());
}