From f60cdca30e359579b4b70b04bdd6714a51239435 Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Fri, 16 Aug 2024 14:30:12 -0700 Subject: [PATCH] Add a test for a single-character apostrophe string 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. --- tests/test_pwd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pwd.py b/tests/test_pwd.py index e3390dd..ff8064c 100644 --- a/tests/test_pwd.py +++ b/tests/test_pwd.py @@ -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'",