Skip to content

Commit fae3c8f

Browse files
tvolkertgspencergoog
authored andcommitted
Allow transitions_perf_test.dart to be run using package:test (flutter#10725)
package:test does not allow main() methods to have required arguments - changing to an optional positional arguments list fixes this.
1 parent 5bcb473 commit fae3c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/flutter_gallery/test_driver/transitions_perf_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Future<Null> runDemos(Iterable<Demo> demos, FlutterDriver driver) async {
174174
}
175175
}
176176

177-
void main(List<String> args) {
177+
void main([List<String> args = const <String>[]]) {
178178
group('flutter gallery transitions', () {
179179
FlutterDriver driver;
180180
setUpAll(() async {

0 commit comments

Comments
 (0)