1
Fork 0
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:
Sylvestre Ledru 2022-05-25 08:47:00 +02:00 committed by GitHub
commit 511ca1dcd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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