Skip to content

Commit b316a8b

Browse files
committed
Update tests
1 parent 95b5f57 commit b316a8b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/dropdown_button2/test/dropdown_button2_test.dart

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,7 @@ void main() {
129129

130130
final findInkWell = find.descendant(
131131
of: findDropdownButton, matching: find.byType(InkWell));
132-
expect(findInkWell, findsOneWidget);
133-
134-
final findInkwellInputDecorator = find.descendant(
135-
of: findInkWell,
136-
matching: find.byType(InputDecorator),
137-
);
138-
final inkwellInputDecorator =
139-
tester.widget<InputDecorator>(findInkwellInputDecorator);
140-
expect(inkwellInputDecorator.decoration.errorText, null);
132+
expect(findInkWell, findsNothing);
141133

142134
final findFormFieldInputDecorator = find.descendant(
143135
of: findDropdownButtonFormField,

0 commit comments

Comments
 (0)