Skip to content

Commit

Permalink
Improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jul 29, 2024
1 parent 2ce2b27 commit 9b68503
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/towncrier/test/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ def test_invalid_category(self):
parse_newfragment_basename("README.ext", ["feature"]),
(None, None, None),
)
self.assertEqual(
parse_newfragment_basename("README", ["feature"]),
(None, None, None),
)

def test_counter(self):
"""<number>.<category>.<counter> generates a custom counter value."""
Expand Down

0 comments on commit 9b68503

Please sign in to comment.