From 7743f515c5534c79b5ce28b9099325af7359fc67 Mon Sep 17 00:00:00 2001 From: "A.Shakhmatov" Date: Wed, 7 Oct 2026 10:59:16 +0300 Subject: [PATCH] tests: track general map source operation coverage --- tools/source_coverage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/source_coverage.py b/tools/source_coverage.py index 0636c7e..10cb65b 100644 --- a/tools/source_coverage.py +++ b/tools/source_coverage.py @@ -20,6 +20,8 @@ TESTS = os.path.join(ROOT, "tests", "conformance", "source") # (area, construct, regex, needs a reject test) CHECKLIST = [ + ("hashmap", "explicit general key policy and owning insert", r"std\.hashmap\.(insert|contains|get)::<", True), + ("hashmap", "explicit general growth/extraction/drain", r"std\.hashmap\.(reserve|remove|pop|free)::<", True), ("static functions", "explicit callable contract", r"[A-Z]\w*: fn\(", True), ("static functions", "explicit named operation argument", r"(?:<|, )fn [a-z]\w*(?:\.|>|:)", True), ("static functions", "forwarded static operation", r"(?:<|, )fn [A-Z]\w*", True),