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

Unified Diff: tests/lib_strong/html/client_rect_test.dart

Issue 2754583002: Fix equality invocation on native objects (Closed)
Patch Set: Created 3 years, 9 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 | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib_strong/html/client_rect_test.dart
diff --git a/tests/lib_strong/html/client_rect_test.dart b/tests/lib_strong/html/client_rect_test.dart
index 526e01145746a536bae443e7a2679b969cc44cd9..983be6b11afe717c6d4afa22f49333e6c1cc09cd 100644
--- a/tests/lib_strong/html/client_rect_test.dart
+++ b/tests/lib_strong/html/client_rect_test.dart
@@ -23,4 +23,10 @@ main() {
var rects = range.getClientRects();
expect(rects, isRectList);
});
+
+ test("ClientRect ==", () {
+ var rect1 = document.body.getBoundingClientRect();
+ var rect2 = document.body.getBoundingClientRect();
+ expect(rect1, equals(rect2));
+ });
}
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698