Index: tests/standalone/io/raw_secure_socket_pause_test.dart |
diff --git a/tests/standalone/io/raw_secure_socket_pause_test.dart b/tests/standalone/io/raw_secure_socket_pause_test.dart |
index cb2dbfebfb57f06ed26627a525c67043331a01df..7188e412ff08c3e16cf79b20832dfc33e5e05d1f 100644 |
--- a/tests/standalone/io/raw_secure_socket_pause_test.dart |
+++ b/tests/standalone/io/raw_secure_socket_pause_test.dart |
@@ -22,7 +22,8 @@ SecurityContext serverContext = new SecurityContext() |
password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesBytes( |
+ readLocalFile('certificates/trusted_certs.pem')); |
Future<HttpServer> startServer() { |
return HttpServer.bindSecure( |