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

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

Issue 341433009: Pub global deactivate command. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/activate/unknown_package_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/unknown_package_test.dart b/sdk/lib/_internal/pub/test/global/activate/unknown_package_test.dart
index 5348fe849384110376df23af7117c7b5d4ab3069..4a6e3a6dd6317542f52478763db00bc092f62000 100644
--- a/sdk/lib/_internal/pub/test/global/activate/unknown_package_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/unknown_package_test.dart
@@ -4,6 +4,7 @@
import 'package:scheduled_test/scheduled_test.dart';
+import '../../../lib/src/exit_codes.dart' as exit_codes;
import '../../descriptor.dart' as d;
import '../../test_pub.dart';
@@ -14,6 +15,6 @@ main() {
schedulePub(args: ["global", "activate", "foo"],
error: startsWith("Could not find package foo at"),
- exitCode: 1);
+ exitCode: exit_codes.UNAVAILABLE);
});
}

Powered by Google App Engine
This is Rietveld 408576698