Skip to content

Commit f2824c2

Browse files
committed
Ignore tidy test in fxitures
1 parent 6eaa2cf commit f2824c2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

crates/mbe/src/benchmark.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! This module add real world mbe example for benchmark tests
2+
//! `test_data/fixture-invocations.rs` and `test_data/fixture-rules.rs` are
3+
//! single lines, with `__ra_macro_fixtureXXX` name macro.
4+
15
use std::fs;
26

37
use profile::StopWatch;

xtask/tests/tidy.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ fn check_todo(path: &Path, text: &str) {
260260
"ast/make.rs",
261261
// The documentation in string literals may contain anything for its own purposes
262262
"completion/src/generated_lint_completions.rs",
263+
// mbe test
264+
"mbe/test_data/fixture-rules.rs",
265+
"mbe/test_data/fixture-invocations.rs",
263266
];
264267
if need_todo.iter().any(|p| path.ends_with(p)) {
265268
return;
@@ -292,6 +295,9 @@ fn check_dbg(path: &Path, text: &str) {
292295
"completion/src/generated_lint_completions.rs",
293296
// test for doc test for remove_dbg
294297
"src/tests/generated.rs",
298+
// mbe test
299+
"mbe/test_data/fixture-rules.rs",
300+
"mbe/test_data/fixture-invocations.rs",
295301
];
296302
if need_dbg.iter().any(|p| path.ends_with(p)) {
297303
return;

0 commit comments

Comments
 (0)