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

Unified Diff: tests/html/event_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/element_bindings_test.dart ('k') | tests/html/events_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/event_test.dart
diff --git a/tests/html/event_test.dart b/tests/html/event_test.dart
index df0fe1cefeb54c62c5765d2568cc34e313fbc7f9..29ceea52d1ad1d43ccc81f981f853ad1d1425791 100644
--- a/tests/html/event_test.dart
+++ b/tests/html/event_test.dart
@@ -144,7 +144,7 @@ main() {
test('DOMMutationEvent', () {
var div = new DivElement();
div.on['DOMSubtreeModified'].add(expectAsync1((DOMMutationEvent e) {}));
- div.nodes.add(new SpanElement());
+ div.append(new SpanElement());
});
// Issue 1005.
« no previous file with comments | « tests/html/element_bindings_test.dart ('k') | tests/html/events_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698