Comma Comma Nit Nit

This commit is contained in:
Kate Lovett 2019-05-02 12:56:31 -07:00 committed by GitHub
parent fdd554fb46
commit 80344acaaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 24 additions and 28 deletions

View file

@ -1327,7 +1327,7 @@ void main() {
find.byType(RepaintBoundary),
matchesSkiaGoldFile('segmented_control_test.0.png'),
);
},);
});
testWidgets('Golden Test Pressed State', (WidgetTester tester) async {
final Map<int, Widget> children = <int, Widget>{};
@ -1365,5 +1365,5 @@ void main() {
find.byType(RepaintBoundary),
matchesSkiaGoldFile('segmented_control_test.1.png'),
);
},);
});
}

View file

@ -79,7 +79,7 @@ void main() {
find.byKey(key),
matchesSkiaGoldFile('bottom_app_bar.custom_shape.2.png'),
);
},);
});
testWidgets('color defaults to Theme.bottomAppBarColor', (WidgetTester tester) async {
await tester.pumpWidget(

View file

@ -2027,8 +2027,7 @@ void main() {
find.byType(InputDecorator),
matchesSkiaGoldFile('input_decorator.outline_icon_label.rtl.png'),
);
},
);
});
testWidgets('InputDecorationTheme.toString()', (WidgetTester tester) async {
// Regression test for https://github.com/flutter/flutter/issues/19305

View file

@ -51,8 +51,7 @@ void main() {
find.byType(RichText),
matchesSkiaGoldFile('localized_fonts.rich_text.styled_text_span.png'),
);
},
);
});
testWidgets(
'Text with locale-specific glyphs, ambient locale',
@ -102,8 +101,7 @@ void main() {
find.byType(Row),
matchesSkiaGoldFile('localized_fonts.text_ambient_locale.chars.png'),
);
},
);
});
testWidgets(
'Text with locale-specific glyphs, explicit locale',
@ -145,7 +143,6 @@ void main() {
find.byType(Row),
matchesSkiaGoldFile('localized_fonts.text_explicit_locale.chars.png'),
);
},
);
});
}

View file

@ -91,7 +91,7 @@ void main() {
find.byKey(const ValueKey<int>(1)),
matchesSkiaGoldFile('editable_text_test.0.png'),
);
},);
});
testWidgets('cursor layout has correct radius', (WidgetTester tester) async {
final GlobalKey<EditableTextState> editableTextKey = GlobalKey<EditableTextState>();
@ -142,7 +142,7 @@ void main() {
find.byKey(const ValueKey<int>(1)),
matchesSkiaGoldFile('editable_text_test.1.png'),
);
},);
});
testWidgets('Cursor animates on iOS', (WidgetTester tester) async {
final Widget widget = MaterialApp(

View file

@ -60,7 +60,7 @@ void main() {
);
}
debugDisableShadows = true;
},);
});
testWidgets('Shadows with PhysicalLayer', (WidgetTester tester) async {
await tester.pumpWidget(
@ -124,5 +124,5 @@ void main() {
);
}
debugDisableShadows = true;
},);
}
});
}

View file

@ -55,7 +55,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.Centered.wrap.png'),
);
},);
});
testWidgets('Text Foreground', (WidgetTester tester) async {
@ -131,7 +131,7 @@ void main() {
find.byType(RepaintBoundary),
matchesSkiaGoldFile('text_golden.Foreground.stroke_and_gradient.png'),
);
},);
});
// TODO(garyq): This test requires an update when the background
// drawing from the beginning of the line bug is fixed. The current
@ -181,7 +181,7 @@ void main() {
find.byType(RepaintBoundary),
matchesSkiaGoldFile('text_golden.Background.png'),
);
},);
});
testWidgets('Text Fade', (WidgetTester tester) async {
await tester.pumpWidget(
@ -217,7 +217,7 @@ void main() {
find.byType(RepaintBoundary).first,
matchesSkiaGoldFile('text_golden.Fade.1.png'),
);
},);
});
testWidgets('Default Strut text', (WidgetTester tester) async {
await tester.pumpWidget(
@ -242,7 +242,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.StrutDefault.png'),
);
},);
});
testWidgets('Strut text 1', (WidgetTester tester) async {
await tester.pumpWidget(
@ -269,7 +269,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.1.png'),
);
},);
});
testWidgets('Strut text 2', (WidgetTester tester) async {
await tester.pumpWidget(
@ -297,7 +297,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.2.png'),
);
},);
});
testWidgets('Strut text rich', (WidgetTester tester) async {
await tester.pumpWidget(
@ -348,7 +348,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.3.png'),
);
},);
});
testWidgets('Strut text font fallback', (WidgetTester tester) async {
// Font Fallback
@ -383,7 +383,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.Strut.4.png'),
);
},);
});
testWidgets('Strut text rich forceStrutHeight', (WidgetTester tester) async {
await tester.pumpWidget(
@ -434,7 +434,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.StrutForce.1.png'),
);
},);
});
testWidgets('Decoration thickness', (WidgetTester tester) async {
final TextDecoration allDecorations = TextDecoration.combine(
@ -472,7 +472,7 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.Decoration.1.png'),
);
},);
});
testWidgets('Decoration thickness', (WidgetTester tester) async {
final TextDecoration allDecorations = TextDecoration.combine(
@ -511,5 +511,5 @@ void main() {
find.byType(Container),
matchesSkiaGoldFile('text_golden.DecorationThickness.1.png'),
);
},);
});
}