mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
Merge pull request #2098 from miDeb/sort-trailing-separator
sort: fix tokenization for trailing separators
This commit is contained in:
commit
372d08c341
2 changed files with 30 additions and 13 deletions
|
@ -581,3 +581,12 @@ fn test_check_silent() {
|
|||
.fails()
|
||||
.stdout_is("");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_trailing_separator() {
|
||||
new_ucmd!()
|
||||
.args(&["-t", "x", "-k", "1,1"])
|
||||
.pipe_in("aax\naaa\n")
|
||||
.succeeds()
|
||||
.stdout_is("aax\naaa\n");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue