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

Unified Diff: tests/standalone/medium_integer_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/standalone/medium_integer_test.dart
diff --git a/tests/standalone/medium_integer_test.dart b/tests/standalone/medium_integer_test.dart
index dc6042cf3d389704f708799db2ef59190aa13100..8abdaeee82f3f36c798ab0c979f07e06dcb2c9c6 100644
--- a/tests/standalone/medium_integer_test.dart
+++ b/tests/standalone/medium_integer_test.dart
@@ -101,8 +101,8 @@ class MediumIntegerTest {
testMintAnd(0x100000001);
var a = 100000000000;
var b = 100000000001;
- 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