Skip to content

Commit

Permalink
configure for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
donno2048 authored Apr 17, 2024
1 parent e06f90f commit 473af62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tools/tidy/src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ use regex::{Regex, RegexSet};
use rustc_hash::FxHashMap;
use std::{ffi::OsStr, path::Path};

#[cfg(test)]
mod tests;

/// Error code markdown is restricted to 80 columns because they can be
/// displayed on the console with --example.
const ERROR_CODE_COLS: usize = 80;
Expand Down Expand Up @@ -104,7 +107,7 @@ fn generate_problems<'a>(
const ROOT_PROBLEMATIC_CONSTS: &[u32] = &[
184594741, 2880289470, 2881141438, 2965027518, 2976579765, 3203381950, 3405691582, 3405697037,
3735927486, 3735932941, 4027431614, 4276992702, 195934910, 252707358, 762133, 179681982,
173390526,
173390526, 524421,
];

fn generate_problematic_strings(
Expand Down

0 comments on commit 473af62

Please sign in to comment.