We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2943e commit 799ba46Copy full SHA for 799ba46
src/libtmux/test/waiter.py
@@ -973,6 +973,10 @@ def has_at_least_5_lines(content):
973
ContentMatchType.PREDICATE
974
)
975
"""
976
+ if not content_patterns:
977
+ msg = "At least one content pattern must be provided"
978
+ raise ValueError(msg)
979
+
980
# Convert single match_type to list of same type
981
if not isinstance(match_types, list):
982
match_types = [match_types] * len(content_patterns)
0 commit comments