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

Unified Diff: test/assets_test.dart

Issue 1830403002: switch package to strong mode (Closed) Base URL: git@github.com:dart-lang/code_transformers.git@master
Patch Set: Created 4 years, 9 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 | « pubspec.yaml ('k') | test/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/assets_test.dart
diff --git a/test/assets_test.dart b/test/assets_test.dart
index e7dbfd62e4bf61e2c4f6d4a72267fe602455b427..a9717ffc93b6daa2eb9310dcd72bd43bb898c1ef 100644
--- a/test/assets_test.dart
+++ b/test/assets_test.dart
@@ -25,7 +25,7 @@ void assetIdToUriTests() {
logger: transform.logger, span: null, from: from);
expect(uriOut, result);
});
- var messages = [];
+ var messages = <String>[];
if (message != null) messages.add(message);
return applyTransformers([[transformer]],
@@ -76,7 +76,7 @@ void uriToAssetIdTests() {
errorOnAbsolute: errorOnAbsolute);
expect(assetId, result);
});
- var messages = [];
+ var messages = <String>[];
if (message != null) messages.add(message);
return applyTransformers([[transformer]],
« no previous file with comments | « pubspec.yaml ('k') | test/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698