Index: tests/standalone/io/print_sync_test.dart |
diff --git a/tests/standalone/io/print_sync_test.dart b/tests/standalone/io/print_sync_test.dart |
index 05f8014d7ba9a013dfe86f79c6ec9841a1cbb882..f709df606fab78cd9e389c85f924a00d5f28a2e1 100644 |
--- a/tests/standalone/io/print_sync_test.dart |
+++ b/tests/standalone/io/print_sync_test.dart |
@@ -10,8 +10,7 @@ import "package:async_helper/async_helper.dart"; |
void main() { |
asyncStart(); |
Process.run(Platform.executable, |
- [new Uri.file(Platform.script) |
- .resolve('print_sync_script.dart').toString()]) |
+ [Platform.script.resolve('print_sync_script.dart').toFilePath()]) |
.then((out) { |
asyncEnd(); |
Expect.equals(1002, out.stdout.split('\n').length); |