Index: tests/standalone/io/https_unauthorized_test.dart |
diff --git a/tests/standalone/io/https_unauthorized_test.dart b/tests/standalone/io/https_unauthorized_test.dart |
index dc3a24623e10e61f6154b58aabbba471a3fb8a36..0bb6c897ff6b54d3bd797a74f75fc72378d27098 100644 |
--- a/tests/standalone/io/https_unauthorized_test.dart |
+++ b/tests/standalone/io/https_unauthorized_test.dart |
@@ -15,7 +15,7 @@ const CERTIFICATE = "localhost_cert"; |
Future<SecureServerSocket> runServer() { |
SecureSocket.initialize( |
- database: join(dirname(Platform.script), 'pkcert'), |
+ database: Platform.script.resolve('pkcert').toFilePath(), |
password: 'dartdart'); |
return HttpServer.bindSecure( |
@@ -29,9 +29,9 @@ Future<SecureServerSocket> runServer() { |
} |
void main() { |
- var clientScript = join(dirname(Platform.script), |
- 'https_unauthorized_client.dart'); |
- |
+ var clientScript = Platform.script |
+ .resolve('https_unauthorized_client.dart') |
+ .toFilePath(); |
Future clientProcess(int port) { |
return Process.run(Platform.executable, |
[clientScript, port.toString()]) |