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

tr: enable passing -c multiple times

This commit is contained in:
Ben Wiederhake 2024-02-23 02:13:21 +01:00
parent 5a2e0c700e
commit d9b6675bbf
2 changed files with 11 additions and 1 deletions

View file

@ -118,6 +118,15 @@ fn test_complement5() {
.stdout_is("0a1b2c3");
}
#[test]
fn test_complement_multi_early() {
new_ucmd!()
.args(&["-c", "-c", "a", "X"])
.pipe_in("ab")
.succeeds()
.stdout_is("aX");
}
#[test]
fn test_squeeze() {
new_ucmd!()