| Index: tests/standalone/io/tls_socket_test.dart
|
| diff --git a/tests/standalone/io/tls_socket_test.dart b/tests/standalone/io/tls_socket_test.dart
|
| index 061d93f8f5af2564acdc436cdbb93723b8d2d62a..cc9950feec84ae728564a261a723eb488192f560 100644
|
| --- a/tests/standalone/io/tls_socket_test.dart
|
| +++ b/tests/standalone/io/tls_socket_test.dart
|
| @@ -26,6 +26,7 @@ void main() {
|
| "GET / HTTP/1.0\r\nHost: www.google.dk\r\n\r\n".charCodes;
|
| tls.writeList(request_bytes, 0, 20);
|
| tls.writeList(request_bytes, 20, request_bytes.length - 20);
|
| + tls.close(true);
|
| };
|
| var useReadList; // Mutually recursive onData callbacks.
|
| void useRead() {
|
| @@ -45,6 +46,5 @@ void main() {
|
| tls.onClosed = () {
|
| String fullPage = Strings.concatAll(chunks);
|
| Expect.isTrue(fullPage.contains('</body></html>'));
|
| - tls.close();
|
| };
|
| }
|
|
|