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

Unified Diff: sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_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/binstubs/binstub_runs_executable_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart b/sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
similarity index 84%
copy from sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart
copy to sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
index a3353e967e6841b0e0718fa33e10e9b282f699f6..314c2e5a85b0249000a09f5467f4a81b7d88a0b2 100644
--- a/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
@@ -20,11 +20,9 @@ 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"]);
@@ -39,17 +37,15 @@ main() {
});
integration("the generated binstub runs a non-snapshotted executable", () {
- d.dir("foo", [
- d.pubspec({
+ d.dir("foo", [d.pubspec({
"name": "foo",
"executables": {
"foo-script": "script"
}
}),
- d.dir("bin", [
- d.file("script.dart", "main(args) => print('ok \$args');")
- ])
- ]).create();
+ d.dir(
+ "bin",
+ [d.file("script.dart", "main(args) => print('ok \$args');")])]).create();
schedulePub(args: ["global", "activate", "-spath", "../foo"]);

Powered by Google App Engine
This is Rietveld 408576698