# HG changeset patch # User Erik Zielke # Date 2010-11-08 09:56:47 # Node ID 158ca54a79cce2439c9f66a95d174d993f9ebc4b # Parent f3183932c4871a07168761dceb2e9dc4cfec17e2 run-test: fixed wrong parenthesis Fixed wrong placement of end parenthesis, from b911cb80c671 diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -556,8 +556,9 @@ def tsttest(test, options, replacements) postout.append(" " + lout) elif (el and (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', lout) or - el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', lout)) or - el.endswith(" (esc)\n") and el.decode('string-escape') == l): + el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', lout) + or el.endswith(" (esc)\n") and + el.decode('string-escape') == l)): postout.append(" " + el) # fallback regex/glob/esc match else: if needescape(lout):