| Index: sdk/lib/_internal/pub/test/serve/utils.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/utils.dart b/sdk/lib/_internal/pub/test/serve/utils.dart
|
| index 9516cd2ddb41fccb7d170dc42eae4b6a25938741..f84eb9a353f97c13dc97df922401882306a2451d 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/utils.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/utils.dart
|
| @@ -260,6 +260,7 @@ Future<http.Response> scheduleRequest(String urlPath, {String root}) {
|
| /// [headers] may be either a [Matcher] or a map to match an exact headers map.
|
| void requestShouldSucceed(String urlPath, expectation, {String root, headers}) {
|
| scheduleRequest(urlPath, root: root).then((response) {
|
| + expect(response.statusCode, equals(200));
|
| if (expectation != null) expect(response.body, expectation);
|
| if (headers != null) expect(response.headers, headers);
|
| });
|
|
|