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

Unified Diff: sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart

Issue 494943002: Don't load assets unnecessarily when precompiling executables. (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/hosted/remove_removed_transitive_dependency_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart b/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart
index e975b05556e4ed04885ab840cc86c3677ab53d93..f67922577dc3503f19fdf9cb9916a4d9b6d4e830 100644
--- a/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart
@@ -13,17 +13,17 @@ main() {
forBothPubGetAndUpgrade((command) {
integration("removes a transitive dependency that's no longer depended "
"on", () {
- servePackages([
- packageMap("foo", "1.0.0", {
+ servePackages((builder) {
+ builder.serve("foo", "1.0.0", deps: {
"shared-dep": "any"
- }),
- packageMap("bar", "1.0.0", {
+ });
+ builder.serve("bar", "1.0.0", deps: {
"shared-dep": "any",
"bar-dep": "any"
- }),
- packageMap("shared-dep", "1.0.0"),
- packageMap("bar-dep", "1.0.0")
- ]);
+ });
+ builder.serve("shared-dep", "1.0.0");
+ builder.serve("bar-dep", "1.0.0");
+ });
d.appDir({
"foo": "any",

Powered by Google App Engine
This is Rietveld 408576698