| 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 f8fe73181245547aba197e70e0ec6d536622e054..dc3a24623e10e61f6154b58aabbba471a3fb8a36 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(new Options().script), 'pkcert'),
|
| + database: join(dirname(Platform.script), 'pkcert'),
|
| password: 'dartdart');
|
|
|
| return HttpServer.bindSecure(
|
| @@ -29,12 +29,11 @@ Future<SecureServerSocket> runServer() {
|
| }
|
|
|
| void main() {
|
| - final options = new Options();
|
| - var clientScript = join(dirname(options.script),
|
| + var clientScript = join(dirname(Platform.script),
|
| 'https_unauthorized_client.dart');
|
|
|
| Future clientProcess(int port) {
|
| - return Process.run(options.executable,
|
| + return Process.run(Platform.executable,
|
| [clientScript, port.toString()])
|
| .then((ProcessResult result) {
|
| if (result.exitCode != 0 || !result.stdout.contains('SUCCESS')) {
|
|
|