mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Fix clippy octal-escapes warning
This commit is contained in:
parent
080cb2b6f9
commit
c2bb9dd433
2 changed files with 4 additions and 4 deletions
|
@ -128,9 +128,9 @@ fn test_complement() {
|
||||||
fn test_zero_terminated() {
|
fn test_zero_terminated() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["-d_", "-z", "-f", "1"])
|
.args(&["-d_", "-z", "-f", "1"])
|
||||||
.pipe_in("9_1\n8_2\n\07_3")
|
.pipe_in("9_1\n8_2\n\x007_3")
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_only("9\07\0");
|
.stdout_only("9\x007\0");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -220,9 +220,9 @@ fn test_zero_terminated() {
|
||||||
fn test_obsolete_extras() {
|
fn test_obsolete_extras() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["-5zv"])
|
.args(&["-5zv"])
|
||||||
.pipe_in("1\02\03\04\05\06")
|
.pipe_in("1\x002\x003\x004\x005\x006")
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_is("==> standard input <==\n1\02\03\04\05\0");
|
.stdout_is("==> standard input <==\n1\x002\x003\x004\x005\0");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue