Skip to content

Commit

Permalink
remove redundant code-test
Browse files Browse the repository at this point in the history
This exact same code-test is already available at tests/checks/universal_test.py
  • Loading branch information
felipesanches committed Mar 1, 2024
1 parent 6b6bf2f commit 0f619e7
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions tests/checks/googlefonts_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5072,36 +5072,6 @@ def test_check_alt_caron():
assert_PASS(check(ttFont))


def test_check_legacy_accents():
"""Check that legacy accents aren't used in composite glyphs."""
check = CheckTester("com.google.fonts/check/legacy_accents")

test_font = TTFont(TEST_FILE("montserrat/Montserrat-Regular.ttf"))
assert_PASS(check(test_font))

test_font = TTFont(TEST_FILE("mada/Mada-Regular.ttf"))
assert_results_contain(
check(test_font),
FAIL,
"legacy-accents-gdef",
"for legacy accents being defined in GDEF as marks.",
)

test_font = TTFont(TEST_FILE("lugrasimo/Lugrasimo-Regular.ttf"))
assert_results_contain(
check(test_font),
WARN,
"legacy-accents-component",
"for legacy accents being used in composites.",
)
assert_results_contain(
check(test_font),
FAIL,
"legacy-accents-width",
"for legacy accents having zero width.",
)


def test_check_shape_languages():
"""Shapes languages in all GF glyphsets."""
check = CheckTester("com.google.fonts/check/glyphsets/shape_languages")
Expand Down

0 comments on commit 0f619e7

Please sign in to comment.