mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Merge pull request #3561 from cakebaker/missing_test
dircolors: test for correct error for -bp and -cp
This commit is contained in:
commit
511ca1dcd8
1 changed files with 8 additions and 1 deletions
|
@ -87,7 +87,14 @@ fn test_no_env() {
|
|||
|
||||
#[test]
|
||||
fn test_exclusive_option() {
|
||||
new_ucmd!().arg("-cp").fails();
|
||||
new_ucmd!()
|
||||
.arg("-bp")
|
||||
.fails()
|
||||
.stderr_contains("mutually exclusive");
|
||||
new_ucmd!()
|
||||
.arg("-cp")
|
||||
.fails()
|
||||
.stderr_contains("mutually exclusive");
|
||||
}
|
||||
|
||||
fn test_helper(file_name: &str, term: &str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue