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

Commit db561b6

Browse files
committed
tests
1 parent f0b9b23 commit db561b6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/web_ui/test/ui/text_golden_test.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,15 @@ Future<void> testMain() async {
568568
region: ui.Rect.fromLTRB(0, 0, testWidth, paragraph.height + 20),
569569
);
570570
});
571+
572+
test('text style - woff2 font', () async {
573+
await testTextStyle(
574+
'emoji woff2',
575+
outerText: '🙂 🇺🇸 🙋‍♂️',
576+
innerText: '',
577+
fontSize: 24,
578+
);
579+
});
571580
}
572581

573582
/// A convenience function for testing paragraph and text styles.

0 commit comments

Comments
 (0)