From 7b4dee0a79d8579a74ad8705a5130090ae31815d Mon Sep 17 00:00:00 2001 From: Mobina Date: Fri, 11 Sep 2026 00:48:47 +0330 Subject: [PATCH] Fix: require white space after step number in guide heading regex --- tests/test_ai_coding_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ai_coding_content.py b/tests/test_ai_coding_content.py index 05ad365..33431dd 100644 --- a/tests/test_ai_coding_content.py +++ b/tests/test_ai_coding_content.py @@ -36,7 +36,7 @@ def test_ai_coding_guides_have_matching_identity_and_version() -> None: def test_ai_coding_guides_cover_the_same_eight_step_workflow() -> None: for path in GUIDES.values(): _, body = load_guide(path) - headings = re.findall(r"^## ([1-8])\.", body, flags=re.MULTILINE) + headings = re.findall(r"^## ([1-8])\.\s", body, flags=re.MULTILINE) assert headings == [str(number) for number in range(1, 9)]