tests/run-tests.py
changeset 990 ab082912af32
parent 989 52af2791a71e
child 996 dadecc4f3341
--- a/tests/run-tests.py	Thu Oct 13 17:48:29 2011 +0100
+++ b/tests/run-tests.py	Sun Oct 16 15:32:04 2011 +0100
@@ -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