1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 04:27:45 +00:00

dircolors: test for correct error for -bp and -cp

This commit is contained in:
Daniel Hofstetter 2022-05-24 15:32:01 +02:00
parent c818ca0039
commit 74a5938acf

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) {