Index: tests/standalone/io/regress_21160_test.dart |
diff --git a/tests/standalone/io/regress_21160_test.dart b/tests/standalone/io/regress_21160_test.dart |
index cfeeb2e34587446ae7c5ff269e0273cbf974a01d..93fef55b7118045a13d38cec01a7dd732aedc915 100644 |
--- a/tests/standalone/io/regress_21160_test.dart |
+++ b/tests/standalone/io/regress_21160_test.dart |
@@ -19,7 +19,8 @@ SecurityContext serverContext = new SecurityContext() |
password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesBytes( |
+ readLocalFile('certificates/trusted_certs.pem')); |
// 10 KiB of i%256 data. |
Uint8List DATA = new Uint8List.fromList( |