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 8677bec0e96c39920b8946b8fc0f9d4c10152d20..9c764a7981bb6fffe59aad15b6e4af9a985c38bf 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() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesSync(localFile('certificates/trusted_certs.pem')); |
class ExpectException implements Exception { |
ExpectException(this.message); |