mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge pull request #1296 from kevinsjoberg/do-not-filter-tests-when-empty
Do not filter test procedures when filter is empty
This commit is contained in:
@@ -4842,6 +4842,10 @@ void check_unchecked_bodies(Checker *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void check_test_procedures(Checker *c) {
|
void check_test_procedures(Checker *c) {
|
||||||
|
if (build_context.test_names.entries.count == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
AstPackage *pkg = c->info.init_package;
|
AstPackage *pkg = c->info.init_package;
|
||||||
Scope *s = pkg->scope;
|
Scope *s = pkg->scope;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user