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

Unified Diff: tests/html/client_rect_test.dart

Issue 12493003: Exposing Point & Rect types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sync to ToT Created 7 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/element_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/client_rect_test.dart
diff --git a/tests/html/client_rect_test.dart b/tests/html/client_rect_test.dart
index b688908843b1bf351bf308ba289d3d4c01bfe163..658449a81ec4089c5b09a756b633e143321cba9e 100644
--- a/tests/html/client_rect_test.dart
+++ b/tests/html/client_rect_test.dart
@@ -5,8 +5,8 @@ import 'dart:html';
main() {
- var isClientRectList =
- predicate((x) => x is List<ClientRect>, 'is a List<ClientRect>');
+ var isRectList =
+ predicate((x) => x is List<Rect>, 'is a List<Rect>');
insertTestDiv() {
var element = new Element.tag('div');
@@ -25,6 +25,6 @@ main() {
insertTestDiv();
var range = new Range();
var rects = range.getClientRects();
- expect(rects, isClientRectList);
+ expect(rects, isRectList);
});
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698