Index: tests/html/selectelement_test.dart |
diff --git a/tests/html/selectelement_test.dart b/tests/html/selectelement_test.dart |
index 9de1d686e3cfa4b1e3d22f945dd3dfe8dfd2aac3..300e29ec6180e1b5b5a79ee3e166730c8e05b1ab 100644 |
--- a/tests/html/selectelement_test.dart |
+++ b/tests/html/selectelement_test.dart |
@@ -21,7 +21,7 @@ main() { |
new OptionElement('data', 'two', false, true), |
new OptionElement(), |
]; |
- element.elements.addAll(options); |
+ element.children.addAll(options); |
expect(element.selectedOptions.length, 1); |
expect(element.selectedOptions[0], equals(options[4])); |
}); |
@@ -37,7 +37,7 @@ main() { |
new OptionElement('data', 'two', false, true), |
new OptionElement(), |
]; |
- element.elements.addAll(options); |
+ element.children.addAll(options); |
expect(element.selectedOptions.length, 2); |
expect(element.selectedOptions[0], equals(options[2])); |
expect(element.selectedOptions[1], equals(options[4])); |
@@ -51,7 +51,7 @@ main() { |
new OptionElement('data', 'two', false, true), |
new OptionElement(), |
]; |
- element.elements.addAll(options); |
+ element.children.addAll(options); |
// Use last to make sure that the list was correctly wrapped. |
expect(element.options.last, equals(options[3])); |
}); |