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

Unified Diff: sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart

Issue 19592015: Get rid of hokey dependencyMapList stuff. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart
diff --git a/sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart b/sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart
index d48899a9805f66cb06ec0f9b763a2458776115c4..57d0f61cbaeb261f4feead60e968921cba246a6c 100644
--- a/sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart
+++ b/sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart
@@ -17,7 +17,9 @@ main() {
d.git('foo.git', [
d.libDir('foo'),
- d.libPubspec("foo", "1.0.0", deps: [{"git": "../foo-dep.git"}])
+ d.libPubspec("foo", "1.0.0", deps: {
+ "foo-dep": {"git": "../foo-dep.git"
+ }})
]).create();
d.git('foo-dep.git', [
@@ -25,7 +27,7 @@ main() {
d.libPubspec('foo-dep', '1.0.0')
]).create();
- d.appDir([{"git": "../foo.git"}]).create();
+ d.appDir({"foo": {"git": "../foo.git"}}).create();
pubInstall();
@@ -40,7 +42,9 @@ main() {
d.git('foo.git', [
d.libDir('foo', 'foo 2'),
- d.libPubspec("foo", "1.0.0", deps: [{"git": "../foo-dep.git"}])
+ d.libPubspec("foo", "1.0.0", deps: {
+ "foo-dep": {"git": "../foo-dep.git"}
+ })
]).create();
d.git('foo-dep.git', [
« no previous file with comments | « sdk/lib/_internal/pub/test/unknown_source_test.dart ('k') | sdk/lib/_internal/pub/test/update/git/update_locked_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698