run-test: fixed wrong parenthesis stable
authorErik Zielke <ez@aragost.com>
Mon, 08 Nov 2010 10:56:47 +0100
branchstable
changeset 860 1ea19e827b5b
parent 858 ff1badf6ae7a
child 861 bbb042e55f49
child 862 c333552ec003
run-test: fixed wrong parenthesis Fixed wrong placement of end parenthesis, from b911cb80c671 [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Mon Nov 08 01:35:41 2010 +0100
+++ 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):