Skip to content

Commit

Permalink
fix code cov
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Jan 23, 2024
1 parent 33b1318 commit 1177092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def test_ofl_license_strings(static_font):
from gftools.constants import OFL_LICENSE_INFO, OFL_LICENSE_URL

for id in (13, 14):
assert "sil.org" in static_font["name"].getName(id, 3, 1, 0x409).toUnicode()
assert "http://scripts.sil.org/OFL" in static_font["name"].getName(id, 3, 1, 0x409).toUnicode()
fix_license_strings(static_font)
for id, expected in ((13, OFL_LICENSE_INFO), (14, OFL_LICENSE_URL)):
assert expected == static_font["name"].getName(id, 3, 1, 0x409).toUnicode()

0 comments on commit 1177092

Please # to comment.