Skip to content

Commit 473af62

Browse files
authored
configure for testing
1 parent e06f90f commit 473af62

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/tools/tidy/src/style.rs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ use regex::{Regex, RegexSet};
2222
use rustc_hash::FxHashMap;
2323
use std::{ffi::OsStr, path::Path};
2424

25+
#[cfg(test)]
26+
mod tests;
27+
2528
/// Error code markdown is restricted to 80 columns because they can be
2629
/// displayed on the console with --example.
2730
constERROR_CODE_COLS:usize = 80;
@@ -104,7 +107,7 @@ fn generate_problems<'a>(
104107
constROOT_PROBLEMATIC_CONSTS:&[u32] = &[
105108
184594741,2880289470,2881141438,2965027518,2976579765,3203381950,3405691582,3405697037,
106109
3735927486,3735932941,4027431614,4276992702,195934910,252707358,762133,179681982,
107-
173390526,
110+
173390526,524421,
108111
];
109112

110113
fngenerate_problematic_strings(

0 commit comments

Comments
 (0)