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

Unified Diff: sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart

Issue 488323002: Make servePackages's contents argument saner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 4 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
Index: sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart b/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart
index b50c1f1f4c8ae9ecba24d9787da034ec37638ca4..f716c91d29048ba42b4798d61799c128bd6c1f91 100644
--- a/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart
@@ -10,10 +10,10 @@ import '../../test_pub.dart';
main() {
initConfig();
integration('activating a Git package installs its dependencies', () {
- servePackages([
- packageMap("bar", "1.0.0", {"baz": "any"}),
- packageMap("baz", "1.0.0")
- ]);
+ servePackages((builder) {
+ builder.serve("bar", "1.0.0", deps: {"baz": "any"});
+ builder.serve("baz", "1.0.0");
+ });
d.git('foo.git', [
d.libPubspec("foo", "1.0.0", deps: {

Powered by Google App Engine
This is Rietveld 408576698