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

Unified Diff: tests/corelib/big_integer_vm_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/big_integer_vm_test.dart
diff --git a/tests/corelib/big_integer_vm_test.dart b/tests/corelib/big_integer_vm_test.dart
index ec1d755512b0feea9d14cd8b6155ff3e6a66bdc0..9c7719aa59e9ee2f088668311f368ed026291d9a 100644
--- a/tests/corelib/big_integer_vm_test.dart
+++ b/tests/corelib/big_integer_vm_test.dart
@@ -168,8 +168,8 @@ class BigIntegerTest {
Expect.equals(1234567890123456, (-1234567890123456).abs());
var a = 10000000000000000000;
var b = 10000000000000000001;
- Expect.equals(false, a.hashCode() == b.hashCode());
- Expect.equals(true, a.hashCode() == (b - 1).hashCode());
+ Expect.equals(false, a.hashCode == b.hashCode);
+ Expect.equals(true, a.hashCode == (b - 1).hashCode);
}
}

Powered by Google App Engine
This is Rietveld 408576698