Remove duplicated expect from text field test (#45081)
This commit is contained in:
committed by
Greg Spencer
parent
2461c75600
commit
5c15b270b3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user