changeset 12955:158ca54a79cc stable

run-test: fixed wrong parenthesis Fixed wrong placement of end parenthesis, from b911cb80c671
author Erik Zielke <ez@aragost.com>
date Mon, 08 Nov 2010 10:56:47 +0100
parents f3183932c487
children 0406682c6905 27e4146d9241
files tests/run-tests.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Mon Nov 08 17:16:17 2010 -0600
+++ b/tests/run-tests.py	Mon Nov 08 10:56:47 2010 +0100
@@ -556,8 +556,9 @@
                 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):