From 9c25a1c64db123ca0020f6fab9a27a5e3ed66aaf Mon Sep 17 00:00:00 2001 From: William Storey Date: Tue, 19 Mar 2024 19:47:46 +0000 Subject: [PATCH] Add tests with trailing periods --- tests/test_request.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_request.py b/tests/test_request.py index 12ef245..cebe66b 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -229,6 +229,8 @@ def test_clean_email(): {"input": "foo@example.cam", "output": "foo@example.cam"}, {"input": "foo@10000gmail.com", "output": "foo@gmail.com"}, {"input": "foo@example.comcom", "output": "foo@example.com"}, + {"input": "foo@example.com.", "output": "foo@example.com"}, + {"input": "foo@example.com...", "output": "foo@example.com"}, ] for test in tests: