Skip to content

Commit

Permalink
Merge pull request #11 from cospectrum/dev
Browse files Browse the repository at this point in the history
assert readme has scripts
  • Loading branch information
cospectrum authored Jan 5, 2025
2 parents 841d73a + 23ab48b commit 0dc1456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

def test_readme() -> None:
readme_path = Path("./README.md")
start_tag = "```python"
end_tag = "```"
scripts = parse_readme_code(readme_path, start_tag, end_tag)
scripts = parse_readme_code(readme_path, "```python\n", "```\n")
scripts += parse_readme_code(readme_path, "```py\n", "```\n")
assert len(scripts) > 0
for script in scripts:
print("\n# executing the following script")
print(script)
Expand Down

0 comments on commit 0dc1456

Please sign in to comment.