From 8e74e5798130ae501b4c64f2f3199e38cf079826 Mon Sep 17 00:00:00 2001 From: "lauren n. liberda" Date: Mon, 25 Mar 2024 18:39:13 +0100 Subject: [PATCH] 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 --- engine/src/flutter/tools/font_subset/test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/flutter/tools/font_subset/test.py b/engine/src/flutter/tools/font_subset/test.py index fceda3af82..ae8554d30e 100755 --- a/engine/src/flutter/tools/font_subset/test.py +++ b/engine/src/flutter/tools/font_subset/test.py @@ -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))