| 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);
|
| });
|
| }
|
|
|