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

Unified Diff: sdk/lib/_internal/pub_generated/test/snapshot/snapshots_transformed_code_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/snapshot/snapshots_transformed_code_test.dart
diff --git a/sdk/lib/_internal/pub/test/snapshot/snapshots_transformed_code_test.dart b/sdk/lib/_internal/pub_generated/test/snapshot/snapshots_transformed_code_test.dart
similarity index 71%
copy from sdk/lib/_internal/pub/test/snapshot/snapshots_transformed_code_test.dart
copy to sdk/lib/_internal/pub_generated/test/snapshot/snapshots_transformed_code_test.dart
index 7c35cdc38be21baffdefe94d34381a46e85c70ea..6defffb7e82e7c66e4c4fb5025a55cb44ff72436 100644
--- a/sdk/lib/_internal/pub/test/snapshot/snapshots_transformed_code_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/snapshot/snapshots_transformed_code_test.dart
@@ -35,28 +35,32 @@ main() {
servePackages((builder) {
builder.serveRepoPackage('barback');
- builder.serve("foo", "1.2.3",
- deps: {"barback": "any"},
- pubspec: {'transformers': ['foo']},
+ builder.serve("foo", "1.2.3", deps: {
+ "barback": "any"
+ }, pubspec: {
+ 'transformers': ['foo']
+ },
contents: [
- d.dir("lib", [d.file("foo.dart", REPLACE_TRANSFORMER)]),
- d.dir("bin", [
- d.file("hello.dart", """
+ d.dir("lib", [d.file("foo.dart", REPLACE_TRANSFORMER)]),
+ d.dir("bin", [d.file("hello.dart", """
final message = 'REPLACE ME';
void main() => print(message);
-"""),
- ])
- ]);
+"""),])]);
});
- d.appDir({"foo": "1.2.3"}).create();
+ d.appDir({
+ "foo": "1.2.3"
+ }).create();
pubGet(output: contains("Precompiled foo:hello."));
- d.dir(p.join(appPath, '.pub', 'bin'), [
- d.dir('foo', [d.matcherFile('hello.dart.snapshot', contains('hello!'))])
- ]).validate();
+ d.dir(
+ p.join(appPath, '.pub', 'bin'),
+ [
+ d.dir(
+ 'foo',
+ [d.matcherFile('hello.dart.snapshot', contains('hello!'))])]).validate();
var process = pubRun(args: ['foo:hello']);
process.stdout.expect("hello!");

Powered by Google App Engine
This is Rietveld 408576698