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

Unified Diff: test/deps_test.dart

Issue 1274763010: Improve the output of "pub deps". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/src/command/deps.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/deps_test.dart
diff --git a/test/deps_test.dart b/test/deps_test.dart
index 0fe3ac3c8b59828a1a7e9ed70b168afdba9a15de..bb45e90ba95d80a2895f390b11f279e3a88003c1 100644
--- a/test/deps_test.dart
+++ b/test/deps_test.dart
@@ -17,7 +17,7 @@ main() {
builder.serve("transitive", "1.2.3", deps: {"shared": "any"});
builder.serve("shared", "1.2.3", deps: {"other": "any"});
builder.serve("unittest", "1.2.3", deps: {"shared": "any"});
- builder.serve("other", "1.0.0");
+ builder.serve("other", "1.0.0", deps: {"myapp": "any"});
builder.serve("overridden", "1.0.0");
builder.serve("overridden", "2.0.0");
builder.serve("override_only", "1.2.3");
@@ -69,7 +69,7 @@ main() {
transitive dependencies:
- circular_a 1.2.3 [circular_b]
- circular_b 1.2.3 [circular_a]
- - other 1.0.0
+ - other 1.0.0 [myapp]
- shared 1.2.3 [other]
- transitive 1.2.3 [shared]
''');
@@ -101,6 +101,7 @@ main() {
- circular_b 1.2.3
- circular_a any
- other 1.0.0
+ - myapp any
- shared 1.2.3
- other any
- transitive 1.2.3
@@ -124,6 +125,7 @@ main() {
'-- unittest 1.2.3
'-- shared 1.2.3
'-- other 1.0.0
+ '-- myapp...
''');
});
}
« no previous file with comments | « lib/src/command/deps.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698