Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[makeotfexe_test.py] Fix to skip version number when diffing output #1286

Merged
merged 1 commit into from
Jan 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/makeotfexe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def test_spec(path):
'-r', r'^\s+Version.*;hotconv.*;makeotfexe'])


def test_negative_internal_loading_bug1227():
def test_negative_internal_leading_bug1227():
input_filename = "font.pfa"
feat_filename = "bug1227/bug1227.fea"
actual_path = get_temp_file_path()
Expand All @@ -701,7 +701,7 @@ def test_negative_internal_loading_bug1227():
'o', f'_{actual_path}'])
actual_ttx = generate_ttx_dump(actual_path, ['OS/2'])
expected_ttx = get_expected_path(ttx_filename)
assert differ([expected_ttx, actual_ttx, '-s', '<usWinAscent 600'])
assert differ([expected_ttx, actual_ttx, '-s', '<ttFont sfntVersion='])
with open(stderr_path, 'rb') as f:
output = f.read()
assert (b'[WARNING] <SourceSerifPro-Regular> Negative internal leading: '
Expand Down