Index: tests/standalone/typed_data_isolate_test.dart |
diff --git a/tests/standalone/typed_data_isolate_test.dart b/tests/standalone/typed_data_isolate_test.dart |
index 35ed8a9c1da64c02ab25e569eb14fb1b451e073e..37bf5471087bfbb47e45425a0fb7c1526797edc8 100644 |
--- a/tests/standalone/typed_data_isolate_test.dart |
+++ b/tests/standalone/typed_data_isolate_test.dart |
@@ -22,7 +22,7 @@ second(message) { |
main() { |
asyncStart(); |
- new File(Platform.script.toFilePath()).readAsBytes().then((List<int> data) { |
+ new File(Platform.script).readAsBytes().then((List<int> data) { |
var response = new ReceivePort(); |
var remote = Isolate.spawn(second, [data, response.sendPort]); |
response.first.then((reply) { |