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

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

Issue 354763006: Add a "pub global run" command. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise! Created 6 years, 6 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/unknown_package_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/deactivate/unknown_package_test.dart b/sdk/lib/_internal/pub/test/global/run/unknown_package_test.dart
similarity index 83%
copy from sdk/lib/_internal/pub/test/global/deactivate/unknown_package_test.dart
copy to sdk/lib/_internal/pub/test/global/run/unknown_package_test.dart
index 3860c48023c6a04ac6e147f5832370466aff6c07..47878124d9f4d23508cc463765ec0c3e9f623103 100644
--- a/sdk/lib/_internal/pub/test/global/deactivate/unknown_package_test.dart
+++ b/sdk/lib/_internal/pub/test/global/run/unknown_package_test.dart
@@ -13,8 +13,8 @@ main() {
integration('errors if the package is not activated', () {
servePackages([]);
- schedulePub(args: ["global", "deactivate", "foo"],
- error: "No active package foo.",
+ schedulePub(args: ["global", "run", "foo", "bar"],
+ error: startsWith("No active package foo."),
exitCode: exit_codes.DATA);
});
}

Powered by Google App Engine
This is Rietveld 408576698