font_subset tests: name correct variant in exception (flutter/engine#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 https://github.com/flutter/flutter/issues/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
This commit is contained in:
lauren n. liberda
2024-03-25 18:39:13 +01:00
committed by GitHub
parent e09fbfc91d
commit 8e74e57981

View File

@@ -180,8 +180,7 @@ def main():
)
if not os.path.isfile(font_subset):
raise Exception(
'Could not locate font-subset%s in host_debug or host_debug_unopt - build before running this script.'
% exe
'Could not locate font-subset%s in %s - build before running this script.' % (exe, variant)
)
print('Using font subset binary at %s (%s)' % (font_subset, font_subset_zip))