Index: tests/standalone/io/platform_test.dart |
diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart |
index 7e9f77cc348b564f82e18adbb80bf5421fe5a378..ce7809fc0fe121fa5ad712ce6eae9eb458ee644e 100644 |
--- a/tests/standalone/io/platform_test.dart |
+++ b/tests/standalone/io/platform_test.dart |
@@ -48,7 +48,7 @@ testIsolate() { |
port.first.then((results) { |
Expect.equals(Platform.executable, results["Platform.executable"]); |
- Uri uri = Uri.parse(results["Platform.script"]); |
+ Uri uri = Uri.file(results["Platform.script"]); |
// SpawnFunction retains the script url of the parent which in this |
// case was a relative path. |
Expect.equals("", uri.scheme); |