1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

join: fix default check order behaviour

If neither --nocheck-order or --check-order are specified, only fail on
unsorted inputs if either file contains unpaired lines.
This commit is contained in:
Cecylia Bocovich 2022-01-22 11:35:42 -05:00
parent 8a787fe028
commit 594157d1e0
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90
2 changed files with 32 additions and 14 deletions

View file

@ -289,7 +289,7 @@ fn wrong_line_order() {
.arg("fields_4.txt")
.fails()
.stderr_is(&format!(
"{} {}: fields_4.txt:5: is not sorted: 11 g 5 gh",
"{0} {1}: fields_4.txt:5: is not sorted: 11 g 5 gh\n{0} {1}: input is not in sorted order",
ts.bin_path.to_string_lossy(),
ts.util_name
));