diff options
| author | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2020-07-14 00:03:13 -0500 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2022-04-07 17:30:50 -0500 |
| commit | 2d9bc460108df4e3587be82e36a58f2fb3f4813f (patch) | |
| tree | 612c95de348bd7d34b1908fb4f1a51d7ec6a4221 /src/test | |
| parent | 91995b6142faf1a5e56e1b7b1cb922504726197c (diff) | |
| download | rust-2d9bc460108df4e3587be82e36a58f2fb3f4813f.tar.gz rust-2d9bc460108df4e3587be82e36a58f2fb3f4813f.zip | |
Backport 4326
refactor: rename some private whitelist names
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs index ab966d4a360..4bad8e71481 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -24,7 +24,7 @@ mod parser; const DIFF_CONTEXT_SIZE: usize = 3; // A list of files on which we want to skip testing. -const SKIP_FILE_WHITE_LIST: &[&str] = &[ +const FILE_SKIP_LIST: &[&str] = &[ // We want to make sure that the `skip_children` is correctly working, // so we do not want to test this file directly. "configs/skip_children/foo/mod.rs", @@ -90,7 +90,7 @@ where } fn is_file_skip(path: &Path) -> bool { - SKIP_FILE_WHITE_LIST + FILE_SKIP_LIST .iter() .any(|file_path| is_subpath(path, file_path)) } |
