1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

more: remove empty "else"-branches in tests

This commit is contained in:
Daniel Hofstetter 2023-05-20 16:26:11 +02:00
parent 70765eea82
commit e844bdfebe

View file

@ -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 {
}
}
@ -18,7 +17,6 @@ fn test_valid_arg() {
new_ucmd!().arg("-p").succeeds();
new_ucmd!().arg("--clean-print").succeeds();
} else {
}
}
@ -32,6 +30,5 @@ fn test_more_dir_arg() {
.arg(".")
.fails()
.usage_error("'.' is a directory.");
} else {
}
}