about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-05-29 16:00:39 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-05-29 16:00:39 +0900
commit86f7051feee1473a30df564bc0634f5bfa4bba4c (patch)
tree98e634e75c36866aa9172504b9249c027e9f12df
parent10cbbfad4b2796ed5afec1ea5f777149a2030f6a (diff)
downloadscadere-86f7051feee1473a30df564bc0634f5bfa4bba4c.tar.gz
Add another rare test case
-rw-r--r--README.md2
-rw-r--r--tst/test_help.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9d5d710..1967b9d 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ on any Python package, it is safe to be tested in-tree:
 Issues should be reported to [chung@loa.loang.net][loang mailing list].
 
 The mailing list also welcomes patches.  Please maintain
-the full branch [coverage] and keep the [hobgoblins][flake8] happy:
+a full branch [coverage] and keep the [hobgoblins][flake8] happy:
 
     PYTHONPATH=src coverage run
     coverage report
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):