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