Remove duplicated expect from text field test (#45081)

This commit is contained in:
Bartosz Wiśniewski
2019-11-18 18:51:16 +01:00
committed by Greg Spencer
parent 2461c75600
commit 5c15b270b3

View File

@@ -1948,9 +1948,6 @@ void main() {
expect(() async {
await tester.pumpWidget(textFieldBuilder(minLines: 3, maxLines: 2));
}, throwsAssertionError);
expect(() async {
await tester.pumpWidget(textFieldBuilder(minLines: 3));
}, throwsAssertionError);
// maxLines defaults to 1 and can't be less than minLines
expect(() async {