Merge pull request #3561 from cakebaker/missing_test

dircolors: test for correct error for -bp and -cp
This commit is contained in:
Sylvestre Ledru
2022-05-25 08:47:00 +02:00
committed by GitHub
+8 -1
View File
@@ -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) {