tests/run-tests.py
branchstable
changeset 798 bca8ef6e70b3
parent 795 234c4314c6a4
child 799 c20c12c560dd
equal deleted inserted replaced
797:f0d8ac85ca21 798:bca8ef6e70b3
   528             if pos in expected and expected[pos]:
   528             if pos in expected and expected[pos]:
   529                 el = expected[pos].pop(0)
   529                 el = expected[pos].pop(0)
   530 
   530 
   531             if el == l: # perfect match (fast)
   531             if el == l: # perfect match (fast)
   532                 postout.append("  " + l)
   532                 postout.append("  " + l)
   533             elif el and rematch(el, l): # fallback regex match
   533             elif el and el[2:] and rematch(el, l): # fallback regex match
   534                 postout.append("  " + el)
   534                 postout.append("  " + el)
   535             else: # mismatch - let diff deal with it
   535             else: # mismatch - let diff deal with it
   536                 postout.append("  " + l)
   536                 postout.append("  " + l)
   537 
   537 
   538     if pos in after:
   538     if pos in after: