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

Unified Diff: sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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_generated/test/build/defaults_to_release_mode_test.dart
diff --git a/sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart b/sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart
similarity index 73%
copy from sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart
copy to sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart
index a507ef78c29e3ab8f6fc1ecdd01f4cfed5197330..86e314633fc0cc71c986dc138eb5d7828e82a1c2 100644
--- a/sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart
@@ -31,30 +31,20 @@ main() {
initConfig();
withBarbackVersions("any", () {
integration("defaults to release mode", () {
- d.dir(appPath, [
- d.pubspec({
+ d.dir(appPath, [d.pubspec({
"name": "myapp",
"transformers": ["myapp/src/transformer"]
}),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER)
- ])]),
- d.dir("web", [
- d.file("foo.txt", "foo")
- ])
- ]).create();
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", TRANSFORMER)])]),
+ d.dir("web", [d.file("foo.txt", "foo")])]).create();
createLockFile('myapp', pkg: ['barback']);
schedulePub(args: ["build"]);
- d.dir(appPath, [
- d.dir('build', [
- d.dir('web', [
- d.file('foo.out', 'release')
- ])
- ])
- ]).validate();
+ d.dir(
+ appPath,
+ [d.dir('build', [d.dir('web', [d.file('foo.out', 'release')])])]).validate();
});
});
}

Powered by Google App Engine
This is Rietveld 408576698