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

Unified Diff: tests/html/svgelement_test.dart

Issue 25785003: "Reverting 28184" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « tests/html/rect_test.dart ('k') | tests/lib/math/point_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/svgelement_test.dart
diff --git a/tests/html/svgelement_test.dart b/tests/html/svgelement_test.dart
index 7ab3d51383dca9f2f14e42a360d72832cc2f7df9..1dad882f4ca89342e4f455db4c360242766343c4 100644
--- a/tests/html/svgelement_test.dart
+++ b/tests/html/svgelement_test.dart
@@ -426,7 +426,7 @@ main() {
});
group('getBoundingClientRect', () {
- test('is a Rectangle', () {
+ test('is a Rect', () {
var element = new svg.RectElement();
element.attributes['width'] = '100';
element.attributes['height'] = '100';
@@ -436,7 +436,7 @@ main() {
document.body.append(root);
var rect = element.getBoundingClientRect();
- expect(rect is Rectangle, isTrue);
+ expect(rect is Rect, isTrue);
expect(rect.width, closeTo(100, 1));
expect(rect.height, closeTo(100, 1));
});
« no previous file with comments | « tests/html/rect_test.dart ('k') | tests/lib/math/point_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698