Commit d98daa6e authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Minor cleanup to tests. (#9197)

parent cf991a34
......@@ -53,6 +53,7 @@ void main() {
],
),
);
expect(_selectedDate, equals(new DateTime(2016, DateTime.JULY, 26)));
await tester.tapAt(const Point(50.0, 100.0));
expect(_selectedDate, equals(new DateTime(2016, DateTime.JULY, 26)));
......
......@@ -30,7 +30,7 @@ void main() {
children: <String>['A', 'B', 'C', 'D', 'E', 'F'].map((String item) {
return new SizedBox(
height: 200.0,
child: new Text(item)
child: new Text(item),
);
}).toList(),
),
......
......@@ -60,8 +60,7 @@ void main() {
expect(log, equals(<String>['Alaska']));
log.clear();
await tester.fling(
find.byType(PageView), const Offset(-200.0, 0.0), 1000.0);
await tester.fling(find.byType(PageView), const Offset(-200.0, 0.0), 1000.0);
await tester.pumpAndSettle(_frameDuration);
expect(find.text('Alabama'), findsNothing);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment