Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f8c79f9

Browse files
authored
font_subset tests: name correct variant in exception (#51492)
font_subset tests now respect `--variant`, but the exception message hasn't been changed *List which issues are fixed by this PR. You must list at least one issue.* closes flutter/flutter#145412 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 0316472 commit f8c79f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/font_subset/test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ def main():
180180
)
181181
if not os.path.isfile(font_subset):
182182
raise Exception(
183-
'Could not locate font-subset%s in host_debug or host_debug_unopt - build before running this script.'
184-
% exe
183+
'Could not locate font-subset%s in %s - build before running this script.' % (exe, variant)
185184
)
186185

187186
print('Using font subset binary at %s (%s)' % (font_subset, font_subset_zip))

0 commit comments

Comments
 (0)