Index: tests/standalone/io/secure_unauthorized_client.dart |
diff --git a/tests/standalone/io/secure_unauthorized_client.dart b/tests/standalone/io/secure_unauthorized_client.dart |
index 9c764a7981bb6fffe59aad15b6e4af9a985c38bf..10392f262c6682f344d2721bc11b6770abc28a7f 100644 |
--- a/tests/standalone/io/secure_unauthorized_client.dart |
+++ b/tests/standalone/io/secure_unauthorized_client.dart |
@@ -11,7 +11,7 @@ import "dart:io"; |
String localFile(path) => Platform.script.resolve(path).toFilePath(); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificatesSync(localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificates(localFile('certificates/trusted_certs.pem')); |
class ExpectException implements Exception { |
ExpectException(this.message); |