Skip to content

Commit 9f69a36

Browse files
Update test font (#121306)
Update test font
1 parent 57c7aa5 commit 9f69a36

23 files changed

+290
-350
lines changed

packages/flutter/test/cupertino/button_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import 'package:flutter_test/flutter_test.dart';
1212
import '../widgets/semantics_tester.dart';
1313

1414
const TextStyle testStyle = TextStyle(
15-
fontFamily: 'Ahem',
1615
fontSize: 10.0,
1716
letterSpacing: 0.0,
1817
);

packages/flutter/test/cupertino/route_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void main() {
160160

161161
// Also shows the previous page's title next to the back button.
162162
expect(find.widgetWithText(CupertinoButton, 'An iPod'), findsOneWidget);
163-
// 3 paddings + 1 ahem character at font size 34.0.
163+
// 3 paddings + 1 test font character at font size 34.0.
164164
expect(tester.getTopLeft(find.text('An iPod')).dx, 8.0 + 4.0 + 34.0 + 6.0);
165165
});
166166

packages/flutter/test/cupertino/text_field_test.dart

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3496,10 +3496,7 @@ void main() {
34963496
child: CupertinoTextField(
34973497
dragStartBehavior: DragStartBehavior.down,
34983498
controller: controller,
3499-
style: const TextStyle(
3500-
fontFamily: 'Ahem',
3501-
fontSize: 10.0,
3502-
),
3499+
style: const TextStyle(fontSize: 10.0),
35033500
),
35043501
),
35053502
),
@@ -4045,10 +4042,7 @@ void main() {
40454042
child: CupertinoTextField(
40464043
dragStartBehavior: DragStartBehavior.down,
40474044
controller: controller,
4048-
style: const TextStyle(
4049-
fontFamily: 'Ahem',
4050-
fontSize: 10.0,
4051-
),
4045+
style: const TextStyle(fontSize: 10.0),
40524046
),
40534047
),
40544048
),
@@ -4180,10 +4174,7 @@ void main() {
41804174
child: CupertinoTextField(
41814175
dragStartBehavior: DragStartBehavior.down,
41824176
controller: controller,
4183-
style: const TextStyle(
4184-
fontFamily: 'Ahem',
4185-
fontSize: 10.0,
4186-
),
4177+
style: const TextStyle(fontSize: 10.0),
41874178
),
41884179
),
41894180
),
@@ -7858,7 +7849,6 @@ void main() {
78587849
testWidgets('placeholder style overflow works', (WidgetTester tester) async {
78597850
final String placeholder = 'hint text' * 20;
78607851
const TextStyle placeholderStyle = TextStyle(
7861-
fontFamily: 'Ahem',
78627852
fontSize: 14.0,
78637853
overflow: TextOverflow.fade,
78647854
);

packages/flutter/test/material/chip_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ void main() {
576576
);
577577

578578
testWidgets('Chip in row works ok', (WidgetTester tester) async {
579-
const TextStyle style = TextStyle(fontFamily: 'Ahem', fontSize: 10.0);
579+
const TextStyle style = TextStyle(fontSize: 10.0);
580580
await tester.pumpWidget(
581581
wrapForChip(
582582
child: const Row(

0 commit comments

Comments
 (0)