Minor cleanup to tests. (#9197)
This commit is contained in:
parent
cf991a3412
commit
d98daa6e10
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user