tests/run-tests.py
branchstable
changeset 24811 a2dcf460e141
parent 24751 dc4daf028f9c
child 24926 3fe1e07f1a32
--- a/tests/run-tests.py	Fri Apr 17 09:46:43 2015 -0700
+++ b/tests/run-tests.py	Fri Apr 17 14:12:01 2015 -0700
@@ -1065,7 +1065,7 @@
         while i < n:
             c = el[i]
             i += 1
-            if c == '\\' and el[i] in '*?\\/':
+            if c == '\\' and i < n and el[i] in '*?\\/':
                 res += el[i - 1:i + 1]
                 i += 1
             elif c == '*':