mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
join: check line order
This commit is contained in:
parent
f333ab26b0
commit
642633fe3b
2 changed files with 106 additions and 18 deletions
|
@ -199,3 +199,11 @@ fn missing_format_fields() {
|
|||
.arg("x")
|
||||
.succeeds().stdout_only_fixture("missing_format_fields.expected");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn wrong_line_order() {
|
||||
new_ucmd!()
|
||||
.arg("fields_2.txt")
|
||||
.arg("fields_4.txt")
|
||||
.fails().stderr_is("fields_4.txt:5: is not sorted");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue