From 6d5969076eec818b965ccdddea17e4e205afa207 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Thu, 18 Sep 2025 21:01:50 -0400 Subject: [PATCH] Add a currency test to test_utils_string unit test --- tests/test_utils_string.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_utils_string.py b/tests/test_utils_string.py index 607b8d0fa..0e1c44f2b 100644 --- a/tests/test_utils_string.py +++ b/tests/test_utils_string.py @@ -31,6 +31,7 @@ class TestUtilsString(unittest.IsolatedAsyncioTestCase): assert match_endofsentence("Valid scientific notation 1.23e4.") == 33 assert match_endofsentence("Valid scientific notation 0.e4.") == 31 assert match_endofsentence("It still early, it's 3:00 a.m.") == 30 + assert match_endofsentence("That'll be $20.00.") == 18 assert not match_endofsentence("This is not a sentence") assert not match_endofsentence("This is not a sentence,") assert not match_endofsentence("This is not a sentence, ")