diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-29 16:00:39 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-29 16:00:39 +0900 |
commit | 86f7051feee1473a30df564bc0634f5bfa4bba4c (patch) | |
tree | 98e634e75c36866aa9172504b9249c027e9f12df /tst | |
parent | 10cbbfad4b2796ed5afec1ea5f777149a2030f6a (diff) | |
download | scadere-86f7051feee1473a30df564bc0634f5bfa4bba4c.tar.gz |
Add another rare test case
Diffstat (limited to 'tst')
-rw-r--r-- | tst/test_help.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tst/test_help.py b/tst/test_help.py index 0889961..3e5ce87 100644 --- a/tst/test_help.py +++ b/tst/test_help.py @@ -57,6 +57,7 @@ def test_long_option(help_string, short, long, metavar): assert f'{short} {metavar}, {long}={metavar}' in help_string +@example('a.example:b', None) # string is unlikely to match .*:\D+ @example('a.example:98', None) # string is unlikely to match .*:\d+ @given(...) def test_netloc(string: str, default_port: int | None): |