From eaf74cd1f622da471761431a7f37a2e3fd362eaa Mon Sep 17 00:00:00 2001 From: Andrew Liebenow Date: Fri, 20 Sep 2024 16:23:13 -0500 Subject: [PATCH] Fix spelling warning --- tests/by-util/test_base64.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/by-util/test_base64.rs b/tests/by-util/test_base64.rs index a35854ee8..b0a89b4c2 100644 --- a/tests/by-util/test_base64.rs +++ b/tests/by-util/test_base64.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use crate::common::util::TestScenario; -// spell-checker:ignore Bvdm - #[test] fn test_encode() { 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.") .succeeds() .stdout_only( + // cSpell:disable "\ VGhlIHF1aW NrIGJyb3du @@ -164,20 +163,25 @@ IGZveCBqdW IHRoZSBsYX p5IGRvZy4= ", + // cSpell:enable ); } #[test] 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!() .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() .stdout_only( + // cSpell:disable "\ VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4gVGhlIHF1aWNrIGJy b3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4gVGhlIHF1aWNrIGJyb3duIGZveCBqdW1w cyBvdmVyIHRoZSBsYXp5IGRvZy4= ", + // cSpell:enable ); }