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

Unified Diff: sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart

Issue 475093003: Precompile immutable globally-installed pub 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/cached_package_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart b/sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart
index 348e7677ae4b6e9f5a0aa4168f000d86b61beef9..72671713f4fdf53aa7902ce318ddfa199688d68f 100644
--- a/sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart
@@ -19,12 +19,14 @@ main() {
schedulePub(args: ["global", "activate", "foo"], output: """
Resolving dependencies...
+ foo 1.0.0
+ Precompiling executables...
+ Loading source assets...
Activated foo 1.0.0.""");
// Should be in global package cache.
d.dir(cachePath, [
d.dir('global_packages', [
- d.matcherFile('foo.lock', contains('1.0.0'))
+ d.dir('foo', [d.matcherFile('pubspec.lock', contains('1.0.0'))])
])
]).validate();
});

Powered by Google App Engine
This is Rietveld 408576698