Skip to content

Commit 7b4dee0

Browse files
Fix: require white space after step number in guide heading regex
1 parent a97d490 commit 7b4dee0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_ai_coding_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_ai_coding_guides_have_matching_identity_and_version() -> None:
3636
def test_ai_coding_guides_cover_the_same_eight_step_workflow() -> None:
3737
for path in GUIDES.values():
3838
_, body = load_guide(path)
39-
headings = re.findall(r"^## ([1-8])\.", body, flags=re.MULTILINE)
39+
headings = re.findall(r"^## ([1-8])\.\s", body, flags=re.MULTILINE)
4040
assert headings == [str(number) for number in range(1, 9)]
4141

4242

0 commit comments

Comments
 (0)