Index: tests/standalone/io/raw_secure_server_socket_test.dart |
diff --git a/tests/standalone/io/raw_secure_server_socket_test.dart b/tests/standalone/io/raw_secure_server_socket_test.dart |
index 44cb7fc19e581abb14cf29b8344ee9fbdbf77361..4226b80b8d983832ee555dd7a9ace6130b8b405d 100644 |
--- a/tests/standalone/io/raw_secure_server_socket_test.dart |
+++ b/tests/standalone/io/raw_secure_server_socket_test.dart |
@@ -473,7 +473,7 @@ void testSimpleReadWrite({bool listenSecure, |
} |
main() { |
- var certificateDatabase = Platform.script.resolve('pkcert').toFilePath(); |
+ var certificateDatabase = join(dirname(Platform.script), 'pkcert'); |
SecureSocket.initialize(database: certificateDatabase, |
password: 'dartdart', |
useBuiltinRoots: false); |