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:
parent
8a787fe028
commit
594157d1e0
2 changed files with 32 additions and 14 deletions
|
@ -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
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue