| Index: tests/standalone/io/platform_test.dart
|
| diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart
|
| index 83645bb5f1f720952a3db136bf69614c8d5d2cd8..5abdc0f72035f742a6b46366c5a3a48c6b70795b 100644
|
| --- a/tests/standalone/io/platform_test.dart
|
| +++ b/tests/standalone/io/platform_test.dart
|
| @@ -30,7 +30,7 @@ test() {
|
| Directory.current = Directory.current.parent;
|
| Expect.isTrue(Platform.script.path.
|
| endsWith('tests/standalone/io/platform_test.dart'));
|
| - Expect.isTrue(Platform.script.path.startsWith(oldDir.path));
|
| + Expect.isTrue(Platform.script.toFilePath().startsWith(oldDir.path));
|
| // Restore dir.
|
| Directory.current = oldDir;
|
| Directory packageRoot = new Directory(Platform.packageRoot);
|
|
|