mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
paste: Handle unicode delimiters
This commit is contained in:
@@ -60,6 +60,18 @@ static EXAMPLE_DATA: &[TestData] = &[
|
||||
ins: &["1\na\n", "2\nb\n"],
|
||||
out: "1 2\na b\n",
|
||||
},
|
||||
TestData {
|
||||
name: "multibyte-delim",
|
||||
args: &["-d", "💣"],
|
||||
ins: &["1\na\n", "2\nb\n"],
|
||||
out: "1💣2\na💣b\n",
|
||||
},
|
||||
TestData {
|
||||
name: "multibyte-delim-serial",
|
||||
args: &["-d", "💣", "-s"],
|
||||
ins: &["1\na\n", "2\nb\n"],
|
||||
out: "1💣a\n2💣b\n",
|
||||
},
|
||||
];
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user