Commit 4739159e authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

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.
parent 36c3a962
......@@ -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 {
......
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