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

Unified Diff: client/tests/client/observable/ObservableTestSetBase.dart

Issue 8297009: Get rid of "==" in Expectation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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: client/tests/client/observable/ObservableTestSetBase.dart
diff --git a/client/tests/client/observable/ObservableTestSetBase.dart b/client/tests/client/observable/ObservableTestSetBase.dart
index e9a3dd750dd0c3270f3a78c80b88f13b1adb545d..a5c1b20fd17c1b583041bbff171923f8cebc4e52 100644
--- a/client/tests/client/observable/ObservableTestSetBase.dart
+++ b/client/tests/client/observable/ObservableTestSetBase.dart
@@ -11,11 +11,11 @@ class ObservableTestSetBase extends TestSet {
ObservableTestSetBase() : super();
void checkEvent(ChangeEvent e, target, pName, index, type, newVal, oldVal) {
- expect(e.target) == target;
- expect(e.propertyName) == pName;
- expect(e.index) == index;
- expect(e.type) == type;
- expect(e.newValue) == newVal;
- expect(e.oldValue) == oldVal;
+ expect(e.target).equals(target);
+ expect(e.propertyName).equals(pName);
+ expect(e.index).equals(index);
+ expect(e.type).equals(type);
+ expect(e.newValue).equals(newVal);
+ expect(e.oldValue).equals(oldVal);
}
}
« no previous file with comments | « client/tests/client/observable/ObservableListTests.dart ('k') | client/tests/client/observable/ObservableValueTests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698