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

Unified Diff: sdk/lib/_internal/pub/test/get/hosted/get_test.dart

Issue 496583002: Fix tests for pub global activate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 4 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/get/hosted/get_test.dart
diff --git a/sdk/lib/_internal/pub/test/get/hosted/get_test.dart b/sdk/lib/_internal/pub/test/get/hosted/get_test.dart
index 2779da1a1740a66dc02650b172a148e604b5dee0..fa2ffe43ad76b1f922d46c300fc1a6270bd0ce7d 100644
--- a/sdk/lib/_internal/pub/test/get/hosted/get_test.dart
+++ b/sdk/lib/_internal/pub/test/get/hosted/get_test.dart
@@ -4,6 +4,7 @@
library pub_tests;
+import '../../../lib/src/exit_codes.dart' as exit_codes;
import '../../descriptor.dart' as d;
import '../../test_pub.dart';
@@ -25,7 +26,9 @@ main() {
d.appDir({"bad name!": "1.2.3"}).create();
- pubGet(error: new RegExp(
- r"Could not find package bad name! at http://localhost:\d+\."));
+ pubGet(
+ error: new RegExp(
+ r"Could not find package bad name! at http://localhost:\d+\."),
+ exitCode: exit_codes.UNAVAILABLE);
});
}

Powered by Google App Engine
This is Rietveld 408576698