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

Unified Diff: sdk/lib/_internal/pub/test/global/activate/ignores_active_version_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/ignores_active_version_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/ignores_active_version_test.dart b/sdk/lib/_internal/pub/test/global/activate/ignores_active_version_test.dart
index e578b81db72fe247c2e9b8ebb660b61e08de5407..a34e0c687a5974c0f112bd7f0a32259fd0694abe 100644
--- a/sdk/lib/_internal/pub/test/global/activate/ignores_active_version_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/ignores_active_version_test.dart
@@ -8,10 +8,10 @@ main() {
initConfig();
integration('ignores previously activated version',
() {
- servePackages([
- packageMap("foo", "1.2.3"),
- packageMap("foo", "1.3.0")
- ]);
+ servePackages((builder) {
+ builder.serve("foo", "1.2.3");
+ builder.serve("foo", "1.3.0");
+ });
// Activate 1.2.3.
schedulePub(args: ["global", "activate", "foo", "1.2.3"]);

Powered by Google App Engine
This is Rietveld 408576698