Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Nov 1, 2023
1 parent 9fec303 commit 325acda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ def test_compatibility_checker(data_dir, caplog):

CompatibilityChecker([s.font for s in designspace.sources]).check()
assert "differing number of contours in glyph A" in caplog.text
assert "Incompatible Sans Regular had 2" in caplog.text
assert "Incompatible Sans Regular had: 2" in caplog.text

assert "differing number of points in glyph B, contour 0" in caplog.text

assert "differing anchors in glyph A" in caplog.text
assert 'Incompatible Sans Bold had "foo"' in caplog.text
assert 'Incompatible Sans Bold had: "foo"' in caplog.text

assert "Fonts had differing number of components in glyph C" in caplog.text

Expand Down

0 comments on commit 325acda

Please sign in to comment.