Index: test/codegen_test.dart |
diff --git a/test/codegen_test.dart b/test/codegen_test.dart |
index c2157088166e8f477da07737f1426546c3f9a2c8..8855b7770cfc7b0b1d3f20109279f97bbad777f4 100644 |
--- a/test/codegen_test.dart |
+++ b/test/codegen_test.dart |
@@ -63,7 +63,7 @@ final packageUrlMappings = { |
final codeCoverage = Platform.environment.containsKey('COVERALLS_TOKEN'); |
-main(arguments) { |
+main(List<String> arguments) { |
if (arguments == null) arguments = []; |
ArgResults args = argParser.parse(arguments); |
var filePattern = new RegExp(args.rest.length > 0 ? args.rest[0] : '.'); |
@@ -275,7 +275,7 @@ String _moduleForLibrary(Source source) { |
} |
List<String> _setUpTests(List<String> testDirs, RegExp filePattern) { |
- var testFiles = []; |
+ var testFiles = <String>[]; |
for (var testDir in testDirs) { |
for (var file in _listFiles(path.join(codegenDir, testDir), filePattern, |