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 1286aa8 commit 2d67064Copy full SHA for 2d67064
python/cucumber_tag_expressions/parser.py
@@ -275,7 +275,10 @@ def ensure_expected_token_type(token_type, index):
275
last_operation = operations.pop()
276
if last_operation is Token.OPEN_PARENTHESIS:
277
# -- CASE: TOO MANY OPEN-PARENTHESIS
278
- message = "Unclosed '(': Too many open-parens in: %s" % text
+ message = (
279
+ 'Tag expression "%s" could not be parsed because of syntax error:'
280
+ ' Unmatched (.' % text
281
+ )
282
raise TagExpressionError(message)
283
cls._push_expression(last_operation, expressions)
284
0 commit comments