Index: tests/standalone/io/platform_test.dart |
diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart |
index 6c009e889c0013f0b924338e6296407603169ccd..1bcfbd7b9619f165ed1207973a031e8186f8d115 100644 |
--- a/tests/standalone/io/platform_test.dart |
+++ b/tests/standalone/io/platform_test.dart |
@@ -48,12 +48,6 @@ void f() { |
if (msg == "Platform.executableArguments") { |
reply.send(Platform.executableArguments); |
} |
- if (msg == "new Options().executable") { |
- reply.send(new Options().executable); |
- } |
- if (msg == "new Options().script") { |
- reply.send(new Options().script); |
- } |
if (msg == "close") { |
reply.send("closed"); |
port.close(); |
@@ -67,14 +61,10 @@ testIsolate() { |
Future.wait([sendPort.call("Platform.executable"), |
sendPort.call("Platform.script"), |
sendPort.call("Platform.packageRoot"), |
- sendPort.call("Platform.executableArguments"), |
- sendPort.call("new Options().executable"), |
- sendPort.call("new Options().script")]) |
+ sendPort.call("Platform.executableArguments")]) |
.then((results) { |
Expect.equals(Platform.executable, results[0]); |
- Expect.equals(Platform.executable, results[4]); |
Uri uri = Uri.parse(results[1]); |
- Expect.equals(uri, Uri.parse(results[5])); |
Expect.equals("file", uri.scheme); |
Expect.isTrue(uri.path.endsWith('tests/standalone/io/platform_test.dart')); |
Expect.equals(Platform.packageRoot, results[2]); |