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

Unified Diff: sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_path_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/global/activate/installs_dependencies_for_path_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_path_test.dart b/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_path_test.dart
index 3480de123ce10eb7c24d6e949e46525be7e572fe..ad9873519e4f0a30224095c6638811d2626443d8 100644
--- a/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_path_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_path_test.dart
@@ -11,10 +11,10 @@ import '../../test_pub.dart';
main() {
initConfig();
integration('activating a path package installs dependencies', () {
- servePackages([
- packageMap("bar", "1.0.0", {"baz": "any"}),
- packageMap("baz", "2.0.0")
- ]);
+ servePackages((builder) {
+ builder.serve("bar", "1.0.0", deps: {"baz": "any"});
+ builder.serve("baz", "2.0.0");
+ });
d.dir("foo", [
d.libPubspec("foo", "0.0.0", deps: {

Powered by Google App Engine
This is Rietveld 408576698