mirror of
https://github.com/lsd-rs/lsd
synced 2024-11-10 14:24:27 +00:00
retrigger tests for issue #582
This commit is contained in:
parent
c49a67085a
commit
3a28c71cfe
2 changed files with 2 additions and 6 deletions
|
@ -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") {
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue