Chromium Code Reviews| Index: tests/standalone/io/https_bad_certificate_client.dart |
| diff --git a/tests/standalone/io/https_bad_certificate_client.dart b/tests/standalone/io/https_bad_certificate_client.dart |
| index 9a26ab62612e04b5f1361a0e18dfa1a9bf4775e6..e7fe817ee4931e7006300dce958d75e2e02cf6b8 100644 |
| --- a/tests/standalone/io/https_bad_certificate_client.dart |
| +++ b/tests/standalone/io/https_bad_certificate_client.dart |
| @@ -42,6 +42,7 @@ Future runHttpClient(int port, result) { |
| testFutures.add(client.getUrl(Uri.parse('https://$HOST_NAME:$port/$result')) |
| .then((HttpClientRequest request) { |
| expect(result == 'true'); // The session cache may keep the session. |
| + request.close().then((result) { }); |
|
Anders Johnsen
2013/09/26 14:49:08
return request.close(); ?
Bill Hesse
2013/09/26 15:11:07
Done.
|
| }, onError: (e) { |
| expect(e is HandshakeException || e is SocketException); |
| })); |
| @@ -63,6 +64,7 @@ Future runHttpClient(int port, result) { |
| testFutures.add(client.getUrl(Uri.parse('https://$HOST_NAME:$port/$result')) |
| .then((HttpClientRequest request) { |
| expect(result == 'true'); // The session cache may keep the session. |
| + request.close().then((result) { }); |
|
Anders Johnsen
2013/09/26 14:49:08
Ditto.
|
| }, onError: (e) { |
| expect(e is HandshakeException || e is SocketException); |
| })); |