mirror of
https://github.com/uutils/coreutils
synced 2024-12-12 22:32:53 +00:00
Fix spelling warning
This commit is contained in:
parent
167586f6fb
commit
eaf74cd1f6
1 changed files with 7 additions and 3 deletions
|
@ -4,8 +4,6 @@
|
||||||
// file that was distributed with this source code.
|
// file that was distributed with this source code.
|
||||||
use crate::common::util::TestScenario;
|
use crate::common::util::TestScenario;
|
||||||
|
|
||||||
// spell-checker:ignore Bvdm
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_encode() {
|
fn test_encode() {
|
||||||
let input = "hello, world!";
|
let input = "hello, world!";
|
||||||
|
@ -156,6 +154,7 @@ fn test_no_repeated_trailing_newline() {
|
||||||
.pipe_in("The quick brown fox jumps over the lazy dog.")
|
.pipe_in("The quick brown fox jumps over the lazy dog.")
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_only(
|
.stdout_only(
|
||||||
|
// cSpell:disable
|
||||||
"\
|
"\
|
||||||
VGhlIHF1aW
|
VGhlIHF1aW
|
||||||
NrIGJyb3du
|
NrIGJyb3du
|
||||||
|
@ -164,20 +163,25 @@ IGZveCBqdW
|
||||||
IHRoZSBsYX
|
IHRoZSBsYX
|
||||||
p5IGRvZy4=
|
p5IGRvZy4=
|
||||||
",
|
",
|
||||||
|
// cSpell:enable
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_wrap_default() {
|
fn test_wrap_default() {
|
||||||
|
const PIPE_IN: &str = "The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.";
|
||||||
|
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["--", "-"])
|
.args(&["--", "-"])
|
||||||
.pipe_in("The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.")
|
.pipe_in(PIPE_IN)
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_only(
|
.stdout_only(
|
||||||
|
// cSpell:disable
|
||||||
"\
|
"\
|
||||||
VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4gVGhlIHF1aWNrIGJy
|
VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4gVGhlIHF1aWNrIGJy
|
||||||
b3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4gVGhlIHF1aWNrIGJyb3duIGZveCBqdW1w
|
b3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4gVGhlIHF1aWNrIGJyb3duIGZveCBqdW1w
|
||||||
cyBvdmVyIHRoZSBsYXp5IGRvZy4=
|
cyBvdmVyIHRoZSBsYXp5IGRvZy4=
|
||||||
",
|
",
|
||||||
|
// cSpell:enable
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue