Skip to content

Commit

Permalink
Add a test for a single-character apostrophe string
Browse files Browse the repository at this point in the history
We recently fixed a bug where a single-character string consisting solely
of the apostrophe character raised an exception. Add this test case to the
test suite.
  • Loading branch information
mgalgs committed Aug 16, 2024
1 parent 498619b commit f60cdca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_pwd.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ def test__pl_general_verb(self):
("tuna's", "tuna's"),
("TUNA's", "TUNA's"),
("bad", False),
("'", False),
pytest.param(
"JOHN's",
"JOHNS'",
Expand Down

0 comments on commit f60cdca

Please sign in to comment.