Fix typos (#121171)
* Fix typos * lowercase animated & opacity * Undo typo fix --------- Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
@@ -12,13 +12,13 @@ void main() {
|
||||
const example.ChipApp(),
|
||||
);
|
||||
|
||||
ChoiceChip choosenChip = tester.widget(find.byType(ChoiceChip).at(1));
|
||||
expect(choosenChip.selected, true);
|
||||
ChoiceChip chosenChip = tester.widget(find.byType(ChoiceChip).at(1));
|
||||
expect(chosenChip.selected, true);
|
||||
|
||||
await tester.tap(find.byType(ChoiceChip).at(0));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
choosenChip = tester.widget(find.byType(ChoiceChip).at(0));
|
||||
expect(choosenChip.selected, true);
|
||||
chosenChip = tester.widget(find.byType(ChoiceChip).at(0));
|
||||
expect(chosenChip.selected, true);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ void main() {
|
||||
|
||||
expect(find.byType(VerticalDivider), findsOneWidget);
|
||||
|
||||
// Divider is positioned horizintally.
|
||||
// Divider is positioned horizontally.
|
||||
Offset expanded = tester.getTopRight(find.byType(Expanded).first);
|
||||
expect(expanded.dx, tester.getTopLeft(find.byType(VerticalDivider)).dx);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import 'package:flutter_api_samples/material/list_tile/list_tile.4.dart' as exam
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Can choose different title aligments from popup menu', (WidgetTester tester) async {
|
||||
testWidgets('Can choose different title alignments from popup menu', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(
|
||||
const example.ListTileApp(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user