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

Unified Diff: tests/isolate/port_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/isolate/port_test.dart
diff --git a/tests/isolate/port_test.dart b/tests/isolate/port_test.dart
index 56563eedb97fac7e15e465b6efb125d5b13fb646..02ea365f90ecc9cc2d47f936bfbd7c7a3ed30400 100644
--- a/tests/isolate/port_test.dart
+++ b/tests/isolate/port_test.dart
@@ -19,8 +19,8 @@ main() {
void testHashCode() {
ReceivePort rp0 = new ReceivePort();
ReceivePort rp1 = new ReceivePort();
- Expect.equals(rp0.toSendPort().hashCode(), rp0.toSendPort().hashCode());
- Expect.equals(rp1.toSendPort().hashCode(), rp1.toSendPort().hashCode());
+ Expect.equals(rp0.toSendPort().hashCode, rp0.toSendPort().hashCode);
+ Expect.equals(rp1.toSendPort().hashCode, rp1.toSendPort().hashCode);
rp0.close();
rp1.close();
}

Powered by Google App Engine
This is Rietveld 408576698