Enable avoid_redundant_argument_values lint (#91409)

This commit is contained in:
Ian Hickson
2021-10-07 20:13:02 -07:00
committed by GitHub
parent 4bf7179e51
commit 5fd259be24
667 changed files with 1693 additions and 3385 deletions

View File

@@ -45,7 +45,7 @@ Future<void> runDemos(List<String> demos, WidgetController controller) async {
await controller.pumpAndSettle();
// Scroll back to the top
await controller.drag(demoList, const Offset(0.0, 10000.0));
await controller.pumpAndSettle(const Duration(milliseconds: 100));
await controller.pumpAndSettle();
}
currentDemoCategory = demoCategory;

View File

@@ -31,7 +31,7 @@ void main([List<String> args = const <String>[]]) {
await tester.pumpAndSettle();
final int id = tester.getSemantics(find.bySemanticsLabel('Material')).id;
expect(id, greaterThan(-1));
}, skip: !withSemantics, semanticsEnabled: true);
}, skip: !withSemantics);
testWidgets(
'all demos',