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

Unified Diff: sdk/lib/_internal/pub/test/global/activate/uncached_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/uncached_package_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/uncached_package_test.dart b/sdk/lib/_internal/pub/test/global/activate/uncached_package_test.dart
index 7194b99ae56c8ae57f3fd2c832cd3fe846a8d65e..92b27ff8bb72f7fb36cab3dc117c2343595e025f 100644
--- a/sdk/lib/_internal/pub/test/global/activate/uncached_package_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/uncached_package_test.dart
@@ -20,12 +20,14 @@ main() {
Resolving dependencies...
+ foo 1.2.3 (2.0.0-wildly.unstable available)
Downloading foo 1.2.3...
+ Precompiling executables...
+ Loading source assets...
Activated foo 1.2.3.""");
// Should be in global package cache.
d.dir(cachePath, [
d.dir('global_packages', [
- d.matcherFile('foo.lock', contains('1.2.3'))
+ d.dir('foo', [d.matcherFile('pubspec.lock', contains('1.2.3'))])
])
]).validate();
});

Powered by Google App Engine
This is Rietveld 408576698