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

Unified Diff: sdk/lib/_internal/pub/test/hosted/offline_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/offline_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/offline_test.dart b/sdk/lib/_internal/pub/test/hosted/offline_test.dart
index 981d24d46816a671d3726246c2cfb022c7023986..0d7b2d80d07623364c477e7e7de59f79c0cc0b12 100644
--- a/sdk/lib/_internal/pub/test/hosted/offline_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/offline_test.dart
@@ -13,7 +13,7 @@ main() {
forBothPubGetAndUpgrade((command) {
integration('upgrades a package using the cache', () {
// Run the server so that we know what URL to use in the system cache.
- servePackages([]);
+ serveNoPackages();
d.cacheDir({
"foo": ["1.2.2", "1.2.3"],
@@ -41,7 +41,7 @@ main() {
integration('fails gracefully if a dependency is not cached', () {
// Run the server so that we know what URL to use in the system cache.
- servePackages([]);
+ serveNoPackages();
d.appDir({"foo": "any"}).create();
@@ -51,7 +51,7 @@ main() {
integration('fails gracefully no cached versions match', () {
// Run the server so that we know what URL to use in the system cache.
- servePackages([]);
+ serveNoPackages();
d.cacheDir({
"foo": ["1.2.2", "1.2.3"]

Powered by Google App Engine
This is Rietveld 408576698