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

Unified Diff: packages/package_config/test/parse_write_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 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 | « packages/package_config/test/parse_test.dart ('k') | packages/path/.analysis_options » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/package_config/test/parse_write_test.dart
diff --git a/packages/package_config/test/parse_write_test.dart b/packages/package_config/test/parse_write_test.dart
index 6a185db20e378847624f31433fbc282ad5800b21..4302187917bf947bc916c35f7cc9043633eb7439 100644
--- a/packages/package_config/test/parse_write_test.dart
+++ b/packages/package_config/test/parse_write_test.dart
@@ -52,12 +52,17 @@ main() {
roundTripTest("http directory", {"foo": httpDir});
roundTripTest("other scheme directory", {"foo": otherDir});
roundTripTest("multiple same-type directories",
- {"foo": lowerDir, "bar": higherDir, "baz": parallelDir});
+ {"foo": lowerDir, "bar": higherDir, "baz": parallelDir});
roundTripTest("multiple scheme directories",
- {"foo": fileDir, "bar": httpDir, "baz": otherDir});
- roundTripTest("multiple scheme directories and mutliple same type",
- {"foo": fileDir, "bar": httpDir, "baz": otherDir,
- "qux": lowerDir, "hip": higherDir, "dep": parallelDir});
+ {"foo": fileDir, "bar": httpDir, "baz": otherDir});
+ roundTripTest("multiple scheme directories and mutliple same type", {
+ "foo": fileDir,
+ "bar": httpDir,
+ "baz": otherDir,
+ "qux": lowerDir,
+ "hip": higherDir,
+ "dep": parallelDir
+ });
});
}
@@ -76,7 +81,7 @@ main() {
});
}
-String writeToString(Map map, {Uri baseUri, String comment}) {
+String writeToString(Map<String, Uri> map, {Uri baseUri, String comment}) {
var buffer = new StringBuffer();
write(buffer, map, baseUri: baseUri, comment: comment);
return buffer.toString();
« no previous file with comments | « packages/package_config/test/parse_test.dart ('k') | packages/path/.analysis_options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698