| Index: sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| index 5117afe627e99dff779c7688419d325dbc8c186f..64247ea1b453a9d6d05b2a1c995750a03303b7e5 100644
|
| --- a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| @@ -54,6 +54,12 @@ main() {
|
| request.response.close();
|
| });
|
|
|
| + // TODO(nweiz): this shouldn't request the versions twice (issue 11077).
|
| + server.handle('GET', '/api/packages/foo', (request) {
|
| + request.response.statusCode = 406;
|
| + request.response.close();
|
| + });
|
| +
|
| pub.shouldExit(1);
|
|
|
| expect(pub.remainingStderr(), completion(equals(
|
|
|