Adjust diff rule for the new hb-shape output format

This commit is contained in:
Behdad Esfahbod 2012-11-14 11:38:50 -08:00
parent dde5506fd9
commit 6b19fa4862
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ class DiffHelpers:
def test_passed (lines):
lines = list (lines)
# XXX This is a hack, but does the job for now.
if any (l.find("space|space") >= 0 for l in lines if l[0] == '+'): return True
if any (l.find("space+0|space+0") >= 0 for l in lines if l[0] == '+'): return True
if any (l.find("uni25CC") >= 0 for l in lines if l[0] == '+'): return True
if any (l.find("dottedcircle") >= 0 for l in lines if l[0] == '+'): return True
if any (l.find("glyph0") >= 0 for l in lines if l[0] == '+'): return True