| Index: tests/standalone/io/file_test.dart
|
| diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart
|
| index ad829d5a4c8387e0a7390705b14aa7ceb867366d..ce493f8964a328465e15b0df092b35cfeb8a2ea9 100644
|
| --- a/tests/standalone/io/file_test.dart
|
| +++ b/tests/standalone/io/file_test.dart
|
| @@ -1070,7 +1070,7 @@ class FileTest {
|
| var port = new ReceivePort();
|
| new File(new Options().executable).lastModified().then((modified) {
|
| Expect.isTrue(modified is DateTime);
|
| - Expect.isTrue(modified < new DateTime.now());
|
| + Expect.isTrue(modified.isBefore(new DateTime.now()));
|
| port.close();
|
| });
|
| }
|
| @@ -1078,7 +1078,7 @@ class FileTest {
|
| static void testLastModifiedSync() {
|
| var modified = new File(new Options().executable).lastModifiedSync();
|
| Expect.isTrue(modified is DateTime);
|
| - Expect.isTrue(modified < new DateTime.now());
|
| + Expect.isTrue(modified.isBefore(new DateTime.now()));
|
| }
|
|
|
| // Test that opens the same file for writing then for appending to test
|
|
|