1
Fork 0
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:
Konstantin Pospelov 2018-02-11 18:23:12 +03:00
parent f333ab26b0
commit 642633fe3b
2 changed files with 106 additions and 18 deletions

View file

@ -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");
}