author | Pierre-Yves David <pierre-yves.david@fb.com> |
Sat, 02 Aug 2014 17:04:53 -0700 | |
changeset 22101 | 6fa40bd78bc8 |
parent 22100 | efd5b7eb3e6d |
child 22102 | fff8e1cec90f |
--- a/contrib/check-code.py Sat Aug 02 17:01:55 2014 -0700 +++ b/contrib/check-code.py Sat Aug 02 17:04:53 2014 -0700 @@ -179,12 +179,14 @@ ] for i in [0, 1]: - for p, m in testpats[i]: + for tp in testpats[i]: + p = tp[0] + m = tp[1] if p.startswith(r'^'): p = r"^ [$>] (%s)" % p[1:] else: p = r"^ [$>] .*(%s)" % p - utestpats[i].append((p, m)) + utestpats[i].append((p, m) + tp[2:]) utestfilters = [ (r"<<(\S+)((.|\n)*?\n > \1)", rephere),