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

Unified Diff: sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_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/unknown_explicit_executable_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/binstubs/unknown_explicit_executable_test.dart b/sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
similarity index 65%
copy from sdk/lib/_internal/pub/test/global/binstubs/unknown_explicit_executable_test.dart
copy to sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
index ae1e0e0f3978dd17d6311f6974d79454ee8e4c04..e272cb6c0cb3e0e031f092e349eeac0fe8dc0174 100644
--- a/sdk/lib/_internal/pub/test/global/binstubs/unknown_explicit_executable_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
@@ -11,22 +11,27 @@ import '../../test_pub.dart';
main() {
initConfig();
integration("errors on an unknown explicit executable", () {
- d.dir("foo", [
- d.pubspec({
+ d.dir("foo", [d.pubspec({
"name": "foo",
"executables": {
"one": "one"
}
}),
- d.dir("bin", [
- d.file("one.dart", "main() => print('ok');")
- ])
- ]).create();
+ d.dir("bin", [d.file("one.dart", "main() => print('ok');")])]).create();
- var pub = startPub(args: [
- "global", "activate", "--source", "path", "../foo",
- "-x", "who", "-x", "one", "--executable", "wat"
- ]);
+ var pub = startPub(
+ args: [
+ "global",
+ "activate",
+ "--source",
+ "path",
+ "../foo",
+ "-x",
+ "who",
+ "-x",
+ "one",
+ "--executable",
+ "wat"]);
pub.stdout.expect(consumeThrough("Installed executable one."));
pub.stderr.expect("Unknown executables wat and who.");

Powered by Google App Engine
This is Rietveld 408576698