| Index: pkg/http_server/test/utils.dart
|
| diff --git a/pkg/http_server/test/utils.dart b/pkg/http_server/test/utils.dart
|
| index 85fa8b94d5f13ce2e55cd11874ac079fe040920b..9a444e2365fdba3bf858f9ef1db3a34008138fec 100644
|
| --- a/pkg/http_server/test/utils.dart
|
| +++ b/pkg/http_server/test/utils.dart
|
| @@ -58,7 +58,8 @@ const CERTIFICATE = "localhost_cert";
|
|
|
|
|
| setupSecure() {
|
| - String certificateDatabase = Platform.script.resolve('pkcert').toFilePath();
|
| + String scriptDir = dirname(Platform.script);
|
| + String certificateDatabase = join(scriptDir, 'pkcert');
|
| SecureSocket.initialize(database: certificateDatabase,
|
| password: 'dartdart');
|
| }
|
|
|