Skip to content

Commit c080116

Browse files
committed
Test using a directory with no METADATA.pb
1 parent d5d95df commit c080116

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/profiles/googlefonts_test.py

+8
Original file line numberDiff line numberDiff line change
@@ -5188,6 +5188,14 @@ def test_check_metadata_unreachable_subsetting():
51885188
check(font), WARN, "unreachable-subsetting", "with a bad font"
51895189
)
51905190

5191+
font = TEST_FILE("data/test/playfair/Playfair-Italic[opsz,wdth,wght].ttf")
5192+
assert_results_contain(
5193+
check(font),
5194+
WARN,
5195+
"unreachable-subsetting",
5196+
"with a bad font and no METADATA.pb",
5197+
)
5198+
51915199

51925200
def test_check_alt_caron():
51935201
"""Check accent of Lcaron, dcaron, lcaron, tcaron"""

0 commit comments

Comments
 (0)