Skip to content

Commit

Permalink
more: remove empty "else"-branches in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed May 20, 2023
1 parent 70765ee commit e844bdf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/by-util/test_more.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ fn test_more_no_arg() {
// Reading from stdin is now supported, so this must succeed
if std::io::stdout().is_terminal() {
new_ucmd!().succeeds();
} else {
}
}

Expand All @@ -18,7 +17,6 @@ fn test_valid_arg() {

new_ucmd!().arg("-p").succeeds();
new_ucmd!().arg("--clean-print").succeeds();
} else {
}
}

Expand All @@ -32,6 +30,5 @@ fn test_more_dir_arg() {
.arg(".")
.fails()
.usage_error("'.' is a directory.");
} else {
}
}

0 comments on commit e844bdf

Please sign in to comment.