Skip to content

Commit

Permalink
code-test for @condition familyname_with_spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
felipesanches committed May 8, 2020
1 parent 7e5988a commit e9b04fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/profiles/googlefonts_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2473,6 +2473,12 @@ def test_check_name_mandatory_entries():
assert status == FAIL and message.code == "missing-entry"


def test_condition_familyname_with_spaces():
from fontbakery.profiles.googlefonts_conditions import familyname_with_spaces
assert familyname_with_spaces("OverpassMono") == "Overpass Mono"
assert familyname_with_spaces("BodoniModa11") == "Bodoni Moda 11"


def test_check_name_familyname():
""" Check name table: FONT_FAMILY_NAME entries. """
from fontbakery.profiles.googlefonts import (com_google_fonts_check_name_familyname as check,
Expand Down

0 comments on commit e9b04fa

Please sign in to comment.