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

Unified Diff: tests/html/node_bindings_test.dart

Issue 14883008: use .append instead of .nodes.add (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: revert node_test and element_test Created 7 years, 7 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/native_gc_test.dart ('k') | tests/html/postmessage_structured_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/node_bindings_test.dart
diff --git a/tests/html/node_bindings_test.dart b/tests/html/node_bindings_test.dart
index 6787ec0c6267720f738dd8eee1d72c8d99419887..fd08fd4ea0dc049de8c5eec6207a809d89ba2f22 100644
--- a/tests/html/node_bindings_test.dart
+++ b/tests/html/node_bindings_test.dart
@@ -25,7 +25,7 @@ nodeBindingTests() {
var testDiv;
setUp(() {
- document.body.nodes.add(testDiv = new DivElement());
+ document.body.append(testDiv = new DivElement());
});
tearDown(() {
@@ -135,7 +135,7 @@ nodeBindingTests() {
test('Checkbox Input', () {
var input = new InputElement();
- testDiv.nodes.add(input);
+ testDiv.append(input);
input.type = 'checkbox';
var model = toSymbolMap({'x': true});
input.bind('checked', model, 'x');
« no previous file with comments | « tests/html/native_gc_test.dart ('k') | tests/html/postmessage_structured_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698