Unverified Commit 80344aca authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Comma Comma Nit Nit

parent fdd554fb
...@@ -1327,7 +1327,7 @@ void main() { ...@@ -1327,7 +1327,7 @@ void main() {
find.byType(RepaintBoundary), find.byType(RepaintBoundary),
matchesSkiaGoldFile('segmented_control_test.0.png'), matchesSkiaGoldFile('segmented_control_test.0.png'),
); );
},); });
testWidgets('Golden Test Pressed State', (WidgetTester tester) async { testWidgets('Golden Test Pressed State', (WidgetTester tester) async {
final Map<int, Widget> children = <int, Widget>{}; final Map<int, Widget> children = <int, Widget>{};
...@@ -1365,5 +1365,5 @@ void main() { ...@@ -1365,5 +1365,5 @@ void main() {
find.byType(RepaintBoundary), find.byType(RepaintBoundary),
matchesSkiaGoldFile('segmented_control_test.1.png'), matchesSkiaGoldFile('segmented_control_test.1.png'),
); );
},); });
} }
...@@ -79,7 +79,7 @@ void main() { ...@@ -79,7 +79,7 @@ void main() {
find.byKey(key), find.byKey(key),
matchesSkiaGoldFile('bottom_app_bar.custom_shape.2.png'), matchesSkiaGoldFile('bottom_app_bar.custom_shape.2.png'),
); );
},); });
testWidgets('color defaults to Theme.bottomAppBarColor', (WidgetTester tester) async { testWidgets('color defaults to Theme.bottomAppBarColor', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
......
...@@ -2027,8 +2027,7 @@ void main() { ...@@ -2027,8 +2027,7 @@ void main() {
find.byType(InputDecorator), find.byType(InputDecorator),
matchesSkiaGoldFile('input_decorator.outline_icon_label.rtl.png'), matchesSkiaGoldFile('input_decorator.outline_icon_label.rtl.png'),
); );
}, });
);
testWidgets('InputDecorationTheme.toString()', (WidgetTester tester) async { testWidgets('InputDecorationTheme.toString()', (WidgetTester tester) async {
// Regression test for https://github.com/flutter/flutter/issues/19305 // Regression test for https://github.com/flutter/flutter/issues/19305
......
...@@ -51,8 +51,7 @@ void main() { ...@@ -51,8 +51,7 @@ void main() {
find.byType(RichText), find.byType(RichText),
matchesSkiaGoldFile('localized_fonts.rich_text.styled_text_span.png'), matchesSkiaGoldFile('localized_fonts.rich_text.styled_text_span.png'),
); );
}, });
);
testWidgets( testWidgets(
'Text with locale-specific glyphs, ambient locale', 'Text with locale-specific glyphs, ambient locale',
...@@ -102,8 +101,7 @@ void main() { ...@@ -102,8 +101,7 @@ void main() {
find.byType(Row), find.byType(Row),
matchesSkiaGoldFile('localized_fonts.text_ambient_locale.chars.png'), matchesSkiaGoldFile('localized_fonts.text_ambient_locale.chars.png'),
); );
}, });
);
testWidgets( testWidgets(
'Text with locale-specific glyphs, explicit locale', 'Text with locale-specific glyphs, explicit locale',
...@@ -145,7 +143,6 @@ void main() { ...@@ -145,7 +143,6 @@ void main() {
find.byType(Row), find.byType(Row),
matchesSkiaGoldFile('localized_fonts.text_explicit_locale.chars.png'), matchesSkiaGoldFile('localized_fonts.text_explicit_locale.chars.png'),
); );
}, });
);
} }
...@@ -91,7 +91,7 @@ void main() { ...@@ -91,7 +91,7 @@ void main() {
find.byKey(const ValueKey<int>(1)), find.byKey(const ValueKey<int>(1)),
matchesSkiaGoldFile('editable_text_test.0.png'), matchesSkiaGoldFile('editable_text_test.0.png'),
); );
},); });
testWidgets('cursor layout has correct radius', (WidgetTester tester) async { testWidgets('cursor layout has correct radius', (WidgetTester tester) async {
final GlobalKey<EditableTextState> editableTextKey = GlobalKey<EditableTextState>(); final GlobalKey<EditableTextState> editableTextKey = GlobalKey<EditableTextState>();
...@@ -142,7 +142,7 @@ void main() { ...@@ -142,7 +142,7 @@ void main() {
find.byKey(const ValueKey<int>(1)), find.byKey(const ValueKey<int>(1)),
matchesSkiaGoldFile('editable_text_test.1.png'), matchesSkiaGoldFile('editable_text_test.1.png'),
); );
},); });
testWidgets('Cursor animates on iOS', (WidgetTester tester) async { testWidgets('Cursor animates on iOS', (WidgetTester tester) async {
final Widget widget = MaterialApp( final Widget widget = MaterialApp(
......
...@@ -60,7 +60,7 @@ void main() { ...@@ -60,7 +60,7 @@ void main() {
); );
} }
debugDisableShadows = true; debugDisableShadows = true;
},); });
testWidgets('Shadows with PhysicalLayer', (WidgetTester tester) async { testWidgets('Shadows with PhysicalLayer', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -124,5 +124,5 @@ void main() { ...@@ -124,5 +124,5 @@ void main() {
); );
} }
debugDisableShadows = true; debugDisableShadows = true;
},); });
} }
\ No newline at end of file
...@@ -55,7 +55,7 @@ void main() { ...@@ -55,7 +55,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.Centered.wrap.png'), matchesSkiaGoldFile('text_golden.Centered.wrap.png'),
); );
},); });
testWidgets('Text Foreground', (WidgetTester tester) async { testWidgets('Text Foreground', (WidgetTester tester) async {
...@@ -131,7 +131,7 @@ void main() { ...@@ -131,7 +131,7 @@ void main() {
find.byType(RepaintBoundary), find.byType(RepaintBoundary),
matchesSkiaGoldFile('text_golden.Foreground.stroke_and_gradient.png'), matchesSkiaGoldFile('text_golden.Foreground.stroke_and_gradient.png'),
); );
},); });
// TODO(garyq): This test requires an update when the background // TODO(garyq): This test requires an update when the background
// drawing from the beginning of the line bug is fixed. The current // drawing from the beginning of the line bug is fixed. The current
...@@ -181,7 +181,7 @@ void main() { ...@@ -181,7 +181,7 @@ void main() {
find.byType(RepaintBoundary), find.byType(RepaintBoundary),
matchesSkiaGoldFile('text_golden.Background.png'), matchesSkiaGoldFile('text_golden.Background.png'),
); );
},); });
testWidgets('Text Fade', (WidgetTester tester) async { testWidgets('Text Fade', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -217,7 +217,7 @@ void main() { ...@@ -217,7 +217,7 @@ void main() {
find.byType(RepaintBoundary).first, find.byType(RepaintBoundary).first,
matchesSkiaGoldFile('text_golden.Fade.1.png'), matchesSkiaGoldFile('text_golden.Fade.1.png'),
); );
},); });
testWidgets('Default Strut text', (WidgetTester tester) async { testWidgets('Default Strut text', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -242,7 +242,7 @@ void main() { ...@@ -242,7 +242,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.StrutDefault.png'), matchesSkiaGoldFile('text_golden.StrutDefault.png'),
); );
},); });
testWidgets('Strut text 1', (WidgetTester tester) async { testWidgets('Strut text 1', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -269,7 +269,7 @@ void main() { ...@@ -269,7 +269,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.1.png'), matchesSkiaGoldFile('text_golden.Strut.1.png'),
); );
},); });
testWidgets('Strut text 2', (WidgetTester tester) async { testWidgets('Strut text 2', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -297,7 +297,7 @@ void main() { ...@@ -297,7 +297,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.2.png'), matchesSkiaGoldFile('text_golden.Strut.2.png'),
); );
},); });
testWidgets('Strut text rich', (WidgetTester tester) async { testWidgets('Strut text rich', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -348,7 +348,7 @@ void main() { ...@@ -348,7 +348,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.3.png'), matchesSkiaGoldFile('text_golden.Strut.3.png'),
); );
},); });
testWidgets('Strut text font fallback', (WidgetTester tester) async { testWidgets('Strut text font fallback', (WidgetTester tester) async {
// Font Fallback // Font Fallback
...@@ -383,7 +383,7 @@ void main() { ...@@ -383,7 +383,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.4.png'), matchesSkiaGoldFile('text_golden.Strut.4.png'),
); );
},); });
testWidgets('Strut text rich forceStrutHeight', (WidgetTester tester) async { testWidgets('Strut text rich forceStrutHeight', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -434,7 +434,7 @@ void main() { ...@@ -434,7 +434,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.StrutForce.1.png'), matchesSkiaGoldFile('text_golden.StrutForce.1.png'),
); );
},); });
testWidgets('Decoration thickness', (WidgetTester tester) async { testWidgets('Decoration thickness', (WidgetTester tester) async {
final TextDecoration allDecorations = TextDecoration.combine( final TextDecoration allDecorations = TextDecoration.combine(
...@@ -472,7 +472,7 @@ void main() { ...@@ -472,7 +472,7 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.Decoration.1.png'), matchesSkiaGoldFile('text_golden.Decoration.1.png'),
); );
},); });
testWidgets('Decoration thickness', (WidgetTester tester) async { testWidgets('Decoration thickness', (WidgetTester tester) async {
final TextDecoration allDecorations = TextDecoration.combine( final TextDecoration allDecorations = TextDecoration.combine(
...@@ -511,5 +511,5 @@ void main() { ...@@ -511,5 +511,5 @@ void main() {
find.byType(Container), find.byType(Container),
matchesSkiaGoldFile('text_golden.DecorationThickness.1.png'), matchesSkiaGoldFile('text_golden.DecorationThickness.1.png'),
); );
},); });
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment