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

Unified Diff: test/descriptor/packages.dart

Issue 2184303002: Make pub strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 5 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 | « test/descriptor/git.dart ('k') | test/descriptor/tar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/descriptor/packages.dart
diff --git a/test/descriptor/packages.dart b/test/descriptor/packages.dart
index c22f5a718e39495438756264ed0219ddc5aaa870..a7470c66eda89f087b5a993861b4bcff7570c4a9 100644
--- a/test/descriptor/packages.dart
+++ b/test/descriptor/packages.dart
@@ -35,7 +35,7 @@ class PackagesFileDescriptor extends Descriptor {
if (parent == null) parent = defaultRoot;
var contents = const <int>[];
if (_dependencies != null) {
- var mapping = {};
+ var mapping = <String, Uri>{};
_dependencies.forEach((package, version) {
var packagePath;
if (_semverRE.hasMatch(version)) {
« no previous file with comments | « test/descriptor/git.dart ('k') | test/descriptor/tar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698