##// END OF EJS Templates
tests: quickly check if the glob line already matches the output...
Simon Heimberg -
r18680:15711d9d default
parent child Browse files
Show More
@@ -541,6 +541,8 b' def rematch(el, l):'
541 def globmatch(el, l):
541 def globmatch(el, l):
542 # The only supported special characters are * and ? plus / which also
542 # The only supported special characters are * and ? plus / which also
543 # matches \ on windows. Escaping of these caracters is supported.
543 # matches \ on windows. Escaping of these caracters is supported.
544 if el + '\n' == l:
545 return True
544 i, n = 0, len(el)
546 i, n = 0, len(el)
545 res = ''
547 res = ''
546 while i < n:
548 while i < n:
General Comments 0
You need to be logged in to leave comments. Login now