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

Unified Diff: sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_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/global/activate/outdated_binstub_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart b/sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart
similarity index 70%
copy from sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart
copy to sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart
index 51bcc837bab0a730a4f8c0f2c39c29d3ee454e19..65fd10b80a1d0eee4fde066fdb86b5e4f806b199 100644
--- a/sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart
@@ -31,28 +31,25 @@ main() {
"executables": {
"foo-script": "script"
}
- }, contents: [
- d.dir("bin", [
- d.file("script.dart", "main(args) => print('ok \$args');")
- ])
- ]);
+ },
+ contents: [
+ d.dir("bin", [d.file("script.dart", "main(args) => print('ok \$args');")])]);
});
schedulePub(args: ["global", "activate", "foo"]);
- d.dir(cachePath, [
- d.dir('bin', [
- d.file(binStubName('foo-script'), _OUTDATED_BINSTUB)
- ])
- ]).create();
+ d.dir(
+ cachePath,
+ [
+ d.dir('bin', [d.file(binStubName('foo-script'), _OUTDATED_BINSTUB)])]).create();
schedulePub(args: ["global", "activate", "foo"]);
- d.dir(cachePath, [
- d.dir('bin', [
- // 255 is the VM's exit code upon seeing an out-of-date snapshot.
- d.matcherFile(binStubName('foo-script'), contains("255"))
- ])
- ]).validate();
+ d.dir(
+ cachePath,
+ [d.dir('bin', [// 255 is the VM's exit code upon seeing an out-of-date snapshot.
+ d.matcherFile(
+ binStubName('foo-script'),
+ contains("255"))])]).validate();
});
}

Powered by Google App Engine
This is Rietveld 408576698