diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-07 16:28:33 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-07 16:28:33 +0000 |
commit | 5397f05bfe7f3b18229a65040c6685e762b2f9a3 (patch) | |
tree | a3c4aab400ffe1c84bd33e094a047798e7136d2d /xtask/tests/tidy-tests | |
parent | 1996762b1f2b9cb196cc879f0ce26d28a3c450c8 (diff) | |
parent | d00add1f1fec59494c3c1a99c27937ae3891458d (diff) |
Merge #3049
3049: Introduce assists utils r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/tests/tidy-tests')
-rw-r--r-- | xtask/tests/tidy-tests/docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/tests/tidy-tests/docs.rs b/xtask/tests/tidy-tests/docs.rs index 8a005d6c4..6a69e7d6a 100644 --- a/xtask/tests/tidy-tests/docs.rs +++ b/xtask/tests/tidy-tests/docs.rs | |||
@@ -6,7 +6,7 @@ use xtask::project_root; | |||
6 | fn is_exclude_dir(p: &Path) -> bool { | 6 | fn is_exclude_dir(p: &Path) -> bool { |
7 | // Test hopefully don't really need comments, and for assists we already | 7 | // Test hopefully don't really need comments, and for assists we already |
8 | // have special comments which are source of doc tests and user docs. | 8 | // have special comments which are source of doc tests and user docs. |
9 | let exclude_dirs = ["tests", "test_data", "assists"]; | 9 | let exclude_dirs = ["tests", "test_data", "handlers"]; |
10 | let mut cur_path = p; | 10 | let mut cur_path = p; |
11 | while let Some(path) = cur_path.parent() { | 11 | while let Some(path) = cur_path.parent() { |
12 | if exclude_dirs.iter().any(|dir| path.ends_with(dir)) { | 12 | if exclude_dirs.iter().any(|dir| path.ends_with(dir)) { |