Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: tests/corelib/date_time2_test.dart

Issue 11191078: Make hashCode a getter and not a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698