##// END OF EJS Templates
tests: accept \-escaped test output...
Yuya Nishihara -
r12721:d4e21a9d default
parent child Browse files
Show More
@@ -546,6 +546,8 b' def tsttest(test, options, replacements)'
546
546
547 if el == l: # perfect match (fast)
547 if el == l: # perfect match (fast)
548 postout.append(" " + l)
548 postout.append(" " + l)
549 elif el and el.decode('string-escape') == l:
550 postout.append(" " + el) # \-escape match
549 elif (el and
551 elif (el and
550 (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or
552 (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or
551 el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l))):
553 el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l))):
General Comments 0
You need to be logged in to leave comments. Login now