mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Merge pull request #3322 from jfinkels/df-multiple-columns-error
df: error on duplicate columns in --output arg
This commit is contained in:
commit
05ec34eb94
3 changed files with 85 additions and 24 deletions
|
@ -272,3 +272,11 @@ fn test_output_file_specific_files() {
|
|||
]
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_output_field_no_more_than_once() {
|
||||
new_ucmd!()
|
||||
.arg("--output=target,source,target")
|
||||
.fails()
|
||||
.usage_error("option --output: field 'target' used more than once");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue