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

Unified Diff: sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_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/upgrade/dry_run_does_not_apply_changes_test.dart
diff --git a/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart b/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart
index da950b58fffa5bc9299ae56c43f19c41968f28ad..6747a4471d23c9c77527c39ee7c9ba38769c3aa7 100644
--- a/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart
+++ b/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart
@@ -12,10 +12,10 @@ import '../test_pub.dart';
main() {
initConfig();
integration("--dry-run shows report but does not apply changes", () {
- servePackages([
- packageMap("foo", "1.0.0"),
- packageMap("foo", "2.0.0"),
- ]);
+ servePackages((builder) {
+ builder.serve("foo", "1.0.0");
+ builder.serve("foo", "2.0.0");
+ });
// Create the first lockfile.
d.appDir({
« no previous file with comments | « sdk/lib/_internal/pub/test/test_pub.dart ('k') | sdk/lib/_internal/pub/test/upgrade/hosted/unlock_dependers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698