Allow transitions_perf_test.dart to be run using package:test (#10725)
package:test does not allow main() methods to have required arguments - changing to an optional positional arguments list fixes this.
This commit is contained in:
@@ -174,7 +174,7 @@ Future<Null> runDemos(Iterable<Demo> demos, FlutterDriver driver) async {
|
||||
}
|
||||
}
|
||||
|
||||
void main(List<String> args) {
|
||||
void main([List<String> args = const <String>[]]) {
|
||||
group('flutter gallery transitions', () {
|
||||
FlutterDriver driver;
|
||||
setUpAll(() async {
|
||||
|
||||
Reference in New Issue
Block a user