From a01188861257c88c20ec72cd2010ce64f8f4d7cd Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 2 Jul 2025 16:20:51 +0300 Subject: [PATCH] tools: skip _test.v and _test.c.v files in find_doc_comments_with_no_dots.v --- cmd/tools/find_doc_comments_with_no_dots.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/find_doc_comments_with_no_dots.v b/cmd/tools/find_doc_comments_with_no_dots.v index 22ec2a6cb5..6091c7c149 100644 --- a/cmd/tools/find_doc_comments_with_no_dots.v +++ b/cmd/tools/find_doc_comments_with_no_dots.v @@ -12,7 +12,8 @@ fn main() { fpaths << 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{}