Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed May 4, 2022
1 parent 04f7adb commit ee5e1fb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/builder/features_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,12 +689,15 @@ def test_mark_class_used_as_glyph_class(tmpdir, ufo_module):

font = to_glyphs([ufo], minimize_ufo_diffs=True)

assert font.featurePrefixes[0].code == dedent(
"""\
markClass CombBreve_Macron <anchor -700 1000> @_U;
markClass CombGraphemeJoiner <anchor 0 0> @_U;
"""
).strip()
assert (
font.featurePrefixes[0].code
== dedent(
"""\
markClass CombBreve_Macron <anchor -700 1000> @_U;
markClass CombGraphemeJoiner <anchor 0 0> @_U;
"""
).strip()
)
assert font.classes[0].name == "c_u_diacs"
assert font.classes[0].code == "@_U"

Expand Down

0 comments on commit ee5e1fb

Please sign in to comment.