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 4fe59a95b61d939b050ff698ad7943cd22d3eefc..4028ebc33feedf277769c5f3c9449a38452007fe 100644 |
| --- a/tests/standalone/io/https_bad_certificate_client.dart |
| +++ b/tests/standalone/io/https_bad_certificate_client.dart |
| @@ -62,7 +62,7 @@ Future runHttpClient(int port, result) { |
| client.badCertificateCallback = null; |
| testFutures.add(client.getUrl(Uri.parse('https://$HOST_NAME:$port/$result')) |
| .then((HttpClientRequest request) { |
| - expect(false); |
| + expect(result == 'true'); // The session cache may keep the last connection. |
|
kasperl
2013/09/26 08:25:39
Long line.
|
| }, onError: (e) { |
| expect(e is HandshakeException || e is SocketException); |
| })); |