[test/shape] Fix reporting

This commit is contained in:
Behdad Esfahbod committed 2025-03-17 21:05:21 -06:00
1 parent b24a93c68e
commit 27bb37c5d0
1 file changed
+4 -4
+4 -4
View File
@@ -244,12 +244,12 @@ for filename in args:
if not no_glyph_names_process:
no_glyph_names_process = open_shape_batch_process()
cmd = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs]
glyphs = shape_cmd(cmd, no_glyph_names_process, verbose=False).strip()
cmd2 = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs]
glyphs = shape_cmd(cmd2, no_glyph_names_process, verbose=False).strip()
cmd = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs_expected]
cmd2 = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs_expected]
glyphs_expected = shape_cmd(
cmd, no_glyph_names_process, verbose=False
cmd2, no_glyph_names_process, verbose=False
).strip()
if glyphs != glyphs_expected: