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

tr+tests: remove unused spell-checker:disable

This commit is contained in:
Ben Wiederhake 2024-04-30 18:23:49 +02:00
parent 900c3916d5
commit 909c47886a

View file

@ -124,10 +124,10 @@ fn test_complement2() {
#[test] #[test]
fn test_complement3() { fn test_complement3() {
new_ucmd!() new_ucmd!()
.args(&["-c", "abcdefgh", "123"]) // spell-checker:disable-line .args(&["-c", "abcdefgh", "123"])
.pipe_in("the cat and the bat") .pipe_in("the cat and the bat")
.run() .run()
.stdout_is("3he3ca33a3d33he3ba3"); // spell-checker:disable-line .stdout_is("3he3ca33a3d33he3ba3");
} }
#[test] #[test]
@ -291,7 +291,7 @@ fn test_set1_shorter_than_set2() {
.args(&["ab", "xyz"]) .args(&["ab", "xyz"])
.pipe_in("abcde") .pipe_in("abcde")
.run() .run()
.stdout_is("xycde"); // spell-checker:disable-line .stdout_is("xycde");
} }
#[test] #[test]
@ -301,7 +301,7 @@ fn test_truncate() {
.args(&["-t", "abc", "xy"]) .args(&["-t", "abc", "xy"])
.pipe_in("abcde") .pipe_in("abcde")
.succeeds() .succeeds()
.stdout_is("xycde"); // spell-checker:disable-line .stdout_is("xycde");
} }
#[test] #[test]
@ -310,7 +310,7 @@ fn test_truncate_multi() {
.args(&["-tt", "-t", "abc", "xy"]) .args(&["-tt", "-t", "abc", "xy"])
.pipe_in("abcde") .pipe_in("abcde")
.succeeds() .succeeds()
.stdout_is("xycde"); // spell-checker:disable-line .stdout_is("xycde");
} }
#[test] #[test]
@ -319,7 +319,7 @@ fn test_truncate_with_set1_shorter_than_set2() {
.args(&["-t", "ab", "xyz"]) .args(&["-t", "ab", "xyz"])
.pipe_in("abcde") .pipe_in("abcde")
.run() .run()
.stdout_is("xycde"); // spell-checker:disable-line .stdout_is("xycde");
} }
#[test] #[test]