Index: tests/html/element_constructor_1_test.dart |
diff --git a/tests/html/element_constructor_1_test.dart b/tests/html/element_constructor_1_test.dart |
index 2b010aed75b976fb8f55d4ee54d38982b62671aa..cf4e43fe51a331f4898fcbfc012e46b0050d7c98 100644 |
--- a/tests/html/element_constructor_1_test.dart |
+++ b/tests/html/element_constructor_1_test.dart |
@@ -20,8 +20,7 @@ main() { |
}); |
test('anchor2', () { |
- // OPTIONALS var e = new AnchorElement(href: '#blah'); |
- var e = new AnchorElement('#blah'); |
+ var e = new AnchorElement(href: '#blah'); |
Expect.isTrue(e is AnchorElement); |
Expect.isTrue(e.href.endsWith('#blah')); |
}); |
@@ -44,8 +43,7 @@ main() { |
}); |
test('canvas2', () { |
- // OPTIONALS var e = new CanvasElement(height: 100, width: 200); |
- var e = new CanvasElement(200, 100); |
+ var e = new CanvasElement(height: 100, width: 200); |
Expect.isTrue(e is CanvasElement); |
Expect.equals(200, e.width); |
Expect.equals(100, e.height); |