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

Unified Diff: sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart

Issue 398193002: If ":" is omitted, use same name for package and script in pub global run. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Apply actual changes. Created 6 years, 5 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/test/global/run/nonexistent_script_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart b/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart
index 714b2228d6ec0afc2fb0dec978b8acb6b52a2ec4..5e999bd9d1a6034cd99b3f66374ddb4c20145260 100644
--- a/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart
+++ b/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart
@@ -15,7 +15,7 @@ main() {
schedulePub(args: ["global", "activate", "foo"]);
- var pub = pubRun(global: true, args: ["foo", "script"]);
+ var pub = pubRun(global: true, args: ["foo:script"]);
pub.stderr.expect("Could not find ${p.join("bin", "script.dart")}.");
pub.shouldExit(exit_codes.NO_INPUT);
});

Powered by Google App Engine
This is Rietveld 408576698