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

Unified Diff: tests/corelib/list_contains_argument_order_test.dart

Issue 17843002: Fixed equals operator in test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_contains_argument_order_test.dart
diff --git a/tests/corelib/list_contains_argument_order_test.dart b/tests/corelib/list_contains_argument_order_test.dart
index 4b9eaf23bbff52be2a8eabf98f6084b24cbd4f0d..5f3148c10877c22efcae8f72016725803af12a77 100644
--- a/tests/corelib/list_contains_argument_order_test.dart
+++ b/tests/corelib/list_contains_argument_order_test.dart
@@ -6,13 +6,13 @@ import "package:expect/expect.dart";
class A {
const A();
- bool operator ==(A other) {
+ bool operator ==(Object other) {
return false;
}
}
class B {
- bool operator ==(B other) {
+ bool operator ==(Object other) {
Expect.fail("Bad equality order.");
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698