tests/run-tests.py
branchstable
changeset 989 52af2791a71e
parent 987 5fc540826f9f
child 996 dadecc4f3341
--- a/tests/run-tests.py	Wed Oct 12 22:01:14 2011 +0200
+++ b/tests/run-tests.py	Thu Oct 13 17:54:37 2011 +0200
@@ -525,7 +525,7 @@
     inblock = False
     for l in lines:
         if inblock:
-            if l.startswith('  $ '):
+            if l.startswith('  $ ') or not l.startswith('  '):
                 inblock = False
                 yield '  > EOF\n'
                 yield l