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..904848bcfb5cacbe126f39069cce4194ee2cb0ee 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 keeps the last connection. |
|
Bill Hesse
2013/09/25 15:26:35
Changed to "may keep"
|
| }, onError: (e) { |
| expect(e is HandshakeException || e is SocketException); |
| })); |