tools: skip _test.v and _test.c.v files in find_doc_comments_with_no_dots.v

This commit is contained in:
Delyan Angelov 2025-07-02 16:20:51 +03:00
parent 30ce22866d
commit a011888612

View file

@ -12,7 +12,8 @@ fn main() {
fpaths << filepath fpaths << filepath
} }
if os.is_dir(filepath) { if os.is_dir(filepath) {
fpaths << os.walk_ext(filepath, '.v') fpaths << os.walk_ext(filepath, '.v').filter(!it.ends_with('_test.v')
&& !it.ends_with('_test.c.v'))
} }
} }
mut ctx := Context{} mut ctx := Context{}