Do not filter test procedures when filter is empty
If `build_context.test_names` is empty, we do not need to perform any filtering.
This commit is contained in:
1 parent
989ddbd688
commit
61b02adc50
1 file changed
+4
@@ -4773,6 +4773,10 @@ void check_unchecked_bodies(Checker *c) {
|
||||
}
|
||||
|
||||
void check_test_procedures(Checker *c) {
|
||||
if (build_context.test_names.entries.count == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
AstPackage *pkg = c->info.init_package;
|
||||
Scope *s = pkg->scope;
|
||||
|
||||
|
||||
Reference in new issue
Block a user