Skip to content

Commit

Permalink
hopefully fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Oct 16, 2024
1 parent 4d7df25 commit 5abb9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _test/test_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_links(dir, file):
if i[0] == "/":
assert i[1:] in permalinks
else:
assert i.endswith(".md")
assert i.endswith(".md") or i.startswith("#")
assert os.path.isfile(os.path.join(dir, i))

# Check that assets exist
Expand Down

0 comments on commit 5abb9b4

Please sign in to comment.