diff options
| author | Bobby <[email protected]> | 2022-10-06 18:35:43 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-10-06 18:35:43 -0400 |
| commit | f79c2e86a9f97737abe1325b76c610c87b7c0d0c (patch) | |
| tree | 8fb6c3d2ff69564fe25cc4c1dce219dbcfa8b28d /tests | |
| parent | 155f2499d15bab010e79b24f96d77758a87b7bbc (diff) | |
| download | edify-f79c2e86a9f97737abe1325b76c610c87b7c0d0c.tar.xz edify-f79c2e86a9f97737abe1325b76c610c87b7c0d0c.zip | |
Fixed validation for special phone numbers
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_phone.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_phone.py b/tests/test_phone.py index 8c95d60..cbff29c 100644 --- a/tests/test_phone.py +++ b/tests/test_phone.py @@ -18,7 +18,8 @@ def test(): "+1 (124) 232": True, "+1 (123) 45-890": True, "+1 (1) 456-7890": True, - "9012": False, + "9012": True, + "911": True, "+1 (615) 243-": False } for phone, expectation in phones.items(): |
