| Index: tests/standalone/io/file_test.dart
|
| diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart
|
| index c34b82392180265ec4e2dc83b2d5d2c7e8d374c2..b1590313565f88a4dcdc91878a6d3c9f5bfc9ed3 100644
|
| --- a/tests/standalone/io/file_test.dart
|
| +++ b/tests/standalone/io/file_test.dart
|
| @@ -1106,7 +1106,7 @@ class FileTest {
|
|
|
| static void testLastModified() {
|
| var port = new ReceivePort();
|
| - new File(new Options().executable).lastModified().then((modified) {
|
| + new File(Platform.executable).lastModified().then((modified) {
|
| Expect.isTrue(modified is DateTime);
|
| Expect.isTrue(modified.isBefore(new DateTime.now()));
|
| port.close();
|
| @@ -1114,7 +1114,7 @@ class FileTest {
|
| }
|
|
|
| static void testLastModifiedSync() {
|
| - var modified = new File(new Options().executable).lastModifiedSync();
|
| + var modified = new File(Platform.executable).lastModifiedSync();
|
| Expect.isTrue(modified is DateTime);
|
| Expect.isTrue(modified.isBefore(new DateTime.now()));
|
| }
|
|
|