mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests/paste: Add test to avoid trimming extra whitespace
This commit is contained in:
parent
ad4c5d3357
commit
f75466bb31
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ static EXAMPLE_DATA: &[TestData] = &[
|
|||
ins: &["1\na\n", "2\nb\n"],
|
||||
out: "1💣a\n2💣b\n",
|
||||
},
|
||||
TestData {
|
||||
name: "trailing whitespace",
|
||||
args: &["-d", "|"],
|
||||
ins: &["1 \na \n", "2\t\nb\t\n"],
|
||||
out: "1 |2\t\na |b\t\n",
|
||||
},
|
||||
];
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue