tests/run-tests.py
branchstable
changeset 1327 953d562c3ebf
parent 1321 79f68c0ed71e
child 1334 2ff0ff8404a5
--- a/tests/run-tests.py	Wed Feb 05 01:37:37 2014 +0100
+++ b/tests/run-tests.py	Tue Feb 11 01:15:07 2014 +0100
@@ -800,7 +800,7 @@
                     r = False
                 elif r == '-glob':
                     log('\ninfo, unnecessary glob in %s (after line %d):'
-                        ' %s (glob)\n' % (test, pos, el[-1]))
+                        ' %s (glob)\n' % (test, pos, el[:-1]))
                     r = True # pass on unnecessary glob
                 else:
                     log('\ninfo, unknown linematch result: %r\n' % r)