mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
commit
0dfb3e36ab
1 changed files with 9 additions and 6 deletions
|
@ -95,15 +95,18 @@ fn test_complement4() {
|
||||||
.pipe_in("0x1y2z3")
|
.pipe_in("0x1y2z3")
|
||||||
.run()
|
.run()
|
||||||
.stdout_is("0~1~2~3");
|
.stdout_is("0~1~2~3");
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: fix this
|
#[test]
|
||||||
|
#[ignore = "fixme: GNU tr returns '0a1b2c3' instead of '0~1~2~3', see #2158"]
|
||||||
|
fn test_complement5() {
|
||||||
// $ echo '0x1y2z3' | tr -c '\0-@' '*-~'
|
// $ echo '0x1y2z3' | tr -c '\0-@' '*-~'
|
||||||
// 0a1b2c3
|
// 0a1b2c3
|
||||||
// new_ucmd!()
|
new_ucmd!()
|
||||||
// .args(&["-c", "\\0-@", "*-~"])
|
.args(&["-c", "\\0-@", "*-~"])
|
||||||
// .pipe_in("0x1y2z3")
|
.pipe_in("0x1y2z3")
|
||||||
// .run()
|
.run()
|
||||||
// .stdout_is("0a1b2c3");
|
.stdout_is("0a1b2c3");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue