Prepare tidy.rs

This commit is contained in:
hecatia-elegua 2023-05-10 12:47:05 +02:00
parent b7cdd93f3e
commit d4b668a3bb

View file

@ -257,6 +257,8 @@ fn check_dbg(path: &Path, text: &str) {
"ide-db/src/generated/lints.rs", "ide-db/src/generated/lints.rs",
// test for doc test for remove_dbg // test for doc test for remove_dbg
"src/tests/generated.rs", "src/tests/generated.rs",
// `expect!` string can contain `dbg!` (due to .dbg postfix)
"ide-completion/src/tests/special.rs",
]; ];
if need_dbg.iter().any(|p| path.ends_with(p)) { if need_dbg.iter().any(|p| path.ends_with(p)) {
return; return;