test(sort): options -C and -c should be mutually exclusive but aren't

This commit is contained in:
David Rebbe
2025-01-23 10:22:13 +01:00
committed by Daniel Hofstetter
parent c4ffeea320
commit f394a20d9a
+5
View File
@@ -1324,3 +1324,8 @@ fn test_human_blocks_r_and_q() {
.succeeds()
.stdout_is(output);
}
#[test]
fn test_args_check_conflict() {
new_ucmd!().arg("-c").arg("-C").fails();
}