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

Unified Diff: sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart

Issue 335313004: Fix broken pub tests. (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/cache/add/package_not_found_test.dart
diff --git a/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart b/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart
index 9e60b5f7790e88b3d365cc37e645e0d02c10310d..d1bacfcf030bab9f3a2c39e631f9b41de0671435 100644
--- a/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart
+++ b/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart
@@ -4,6 +4,7 @@
library pub_tests;
+import '../../../lib/src/exit_codes.dart' as exit_codes;
import '../../test_pub.dart';
main() {
@@ -13,6 +14,6 @@ main() {
schedulePub(args: ["cache", "add", "foo"],
error: new RegExp(r"Could not find package foo at http://.*"),
- exitCode: 1);
+ exitCode: exit_codes.UNAVAILABLE);
});
}

Powered by Google App Engine
This is Rietveld 408576698