@@ -227,15 +227,15 @@ Future<void> testMain() async {
227227 expect (paragraph.plainText, 'abcdef' );
228228 final List <DomElement > spans =
229229 paragraph.toDomElement ().querySelectorAll ('flt-span' ).toList ();
230- expect (spans[0 ].style.fontFamily, 'Ahem , $fallback , sans-serif' );
230+ expect (spans[0 ].style.fontFamily, 'FlutterTest , $fallback , sans-serif' );
231231 // The nested span here should not set it's family to default sans-serif.
232- expect (spans[1 ].style.fontFamily, 'Ahem , $fallback , sans-serif' );
232+ expect (spans[1 ].style.fontFamily, 'FlutterTest , $fallback , sans-serif' );
233233 },
234234 // TODO(mdebbar): https://github.com/flutter/flutter/issues/46638
235235 skip: browserEngine == BrowserEngine .firefox);
236236
237237 test ('adds Arial and sans-serif as fallback fonts' , () {
238- // Set this to false so it doesn't default to 'Ahem' font.
238+ // Set this to false so it doesn't default to the test font.
239239 debugEmulateFlutterTesterEnvironment = false ;
240240
241241 final CanvasParagraph paragraph = plain (EngineParagraphStyle (
@@ -253,7 +253,7 @@ Future<void> testMain() async {
253253 skip: browserEngine == BrowserEngine .firefox);
254254
255255 test ('does not add fallback fonts to generic families' , () {
256- // Set this to false so it doesn't default to 'Ahem' font.
256+ // Set this to false so it doesn't default to the default test font.
257257 debugEmulateFlutterTesterEnvironment = false ;
258258
259259 final CanvasParagraph paragraph = plain (EngineParagraphStyle (
@@ -268,7 +268,7 @@ Future<void> testMain() async {
268268 });
269269
270270 test ('can set font families that need to be quoted' , () {
271- // Set this to false so it doesn't default to 'Ahem' font.
271+ // Set this to false so it doesn't default to the default test font.
272272 debugEmulateFlutterTesterEnvironment = false ;
273273
274274 final CanvasParagraph paragraph = plain (EngineParagraphStyle (
@@ -363,7 +363,7 @@ Future<void> testMain() async {
363363 final bool resetValue = debugEmulateFlutterTesterEnvironment;
364364 debugEmulateFlutterTesterEnvironment = true ;
365365 tearDownAll (() => debugEmulateFlutterTesterEnvironment = resetValue);
366- const List <String > testFonts = < String > ['Ahem ' , 'FlutterTest ' ];
366+ const List <String > testFonts = < String > ['FlutterTest ' , 'Ahem ' ];
367367
368368 test ('The default test font is used when a non-test fontFamily is specified, or fontFamily is not specified' , () {
369369 final String defaultTestFontFamily = testFonts.first;
0 commit comments