Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: test/codegen_test.dart

Issue 2016483002: Enable strong mode in DDC, fix all warnings/errors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/js_ast/type_printer.dart ('k') | test/worker/worker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « lib/src/js_ast/type_printer.dart ('k') | test/worker/worker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698