Index: tests/corelib/date_time2_test.dart |
diff --git a/tests/corelib/date_time2_test.dart b/tests/corelib/date_time2_test.dart |
index 8f838f40742827041e55278507f46da3fd466fa2..2004987e2542d782ff6ea3ebe069c6d01ae74eda 100644 |
--- a/tests/corelib/date_time2_test.dart |
+++ b/tests/corelib/date_time2_test.dart |
@@ -10,5 +10,5 @@ main() { |
// There is no guarantee that the hashcode for these two dates is different, |
// but in the worst case we will have to fix this test. |
// The important test here is, that Date . |
- Expect.isFalse(d.hashCode() == d2.hashCode()); |
+ Expect.isFalse(d.hashCode == d2.hashCode); |
} |