Index: tests/standalone/io/secure_socket_renegotiate_client.dart |
diff --git a/tests/standalone/io/secure_socket_renegotiate_client.dart b/tests/standalone/io/secure_socket_renegotiate_client.dart |
index d2770121d53f5a09e0fa150303a21ea2425a437e..7886706a9e7677ebc65b3d14abbf7059551084ff 100644 |
--- a/tests/standalone/io/secure_socket_renegotiate_client.dart |
+++ b/tests/standalone/io/secure_socket_renegotiate_client.dart |
@@ -15,7 +15,7 @@ const HOST_NAME = "localhost"; |
String localFile(path) => Platform.script.resolve(path).toFilePath(); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesSync(localFile('certificates/trusted_certs.pem')); |
class ExpectException implements Exception { |
ExpectException(this.message); |