mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Adds spell checker ignores to remaining project files.
This commit is contained in:
parent
076ff32e85
commit
86245ec754
6 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio
|
||||
|
||||
use super::*;
|
||||
|
||||
const NL: u8 = b'\n';
|
||||
|
@ -86,7 +88,7 @@ fn block_test_no_nl_trunc() {
|
|||
let buf = vec![0u8, 1u8, 2u8, 3u8, 4u8];
|
||||
let res = block(buf, 4, &mut rs);
|
||||
|
||||
// Commented section should be truncated and appear for reference only.
|
||||
// Commented section(s) should be truncated and appear for reference only.
|
||||
assert_eq!(res, vec![vec![0u8, 1u8, 2u8, 3u8 /*, 4u8*/],]);
|
||||
assert_eq!(rs.records_truncated, 1);
|
||||
}
|
||||
|
@ -102,7 +104,7 @@ fn block_test_nl_gt_cbs_trunc() {
|
|||
assert_eq!(
|
||||
res,
|
||||
vec![
|
||||
// Commented lines should be truncated and appear for reference only.
|
||||
// Commented section(s) should be truncated and appear for reference only.
|
||||
vec![0u8, 1u8, 2u8, 3u8],
|
||||
// vec![4u8, SPACE, SPACE, SPACE],
|
||||
vec![0u8, 1u8, 2u8, 3u8],
|
||||
|
@ -227,7 +229,7 @@ fn block_test_double_surrounded_nl_double_trunc() {
|
|||
assert_eq!(
|
||||
res,
|
||||
vec![
|
||||
// Commented section should be truncated and appear for reference only.
|
||||
// Commented section(s) should be truncated and appear for reference only.
|
||||
vec![0u8, 1u8, 2u8, 3u8],
|
||||
vec![SPACE, SPACE, SPACE, SPACE],
|
||||
vec![4u8, 5u8, 6u8, 7u8 /*, 8u8*/],
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio
|
||||
|
||||
use super::*;
|
||||
|
||||
macro_rules! make_sync_test (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio
|
||||
|
||||
use super::*;
|
||||
|
||||
macro_rules! make_conv_test (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio
|
||||
|
||||
use super::*;
|
||||
|
||||
mod block_unblock_tests;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio
|
||||
|
||||
use super::*;
|
||||
|
||||
const DST_PLACEHOLDER: Vec<u8> = Vec::new();
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio
|
||||
|
||||
use super::*;
|
||||
|
||||
use crate::StatusLevel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue