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

Unified Diff: sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_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/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart
diff --git a/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart b/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart
index 7712798de00775ca03fcb2c0f31af40569179425..41870c7f9ecd8f7e40e53f34275320c30616abe7 100644
--- a/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart
+++ b/sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart
@@ -15,9 +15,11 @@ main() {
initConfig();
integration("creates a snapshot for an immediate dependency's executables",
() {
- servePackages([packageMap("foo", "5.6.7")], contents: [
- d.dir("bin", [d.file("hello.dart", "void main() => print('hello!');")])
- ]);
+ servePackages((builder) {
+ builder.serve("foo", "5.6.7", contents: [
+ d.dir("bin", [d.file("hello.dart", "void main() => print('hello!');")])
+ ]);
+ });
d.appDir({"foo": "5.6.7"}).create();

Powered by Google App Engine
This is Rietveld 408576698