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

Unified Diff: tests/html/node_test.dart

Issue 11194031: Modify and enable formerly disabled test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/node_test.dart
diff --git a/tests/html/node_test.dart b/tests/html/node_test.dart
index 860007298c37d00be77138d00182d3062d492634..44bd28efa5cb52220f067bf172d891f12cd1c116 100644
--- a/tests/html/node_test.dart
+++ b/tests/html/node_test.dart
@@ -27,12 +27,11 @@ main() {
Expect.isTrue(node.nodes[2] is Comment);
});
- if (false) // TODO(antonm): fix it.
test('remove', () {
final node = makeNodeWithChildren();
final subnode = node.nodes[1];
final out = subnode.remove();
- Expect.equals(subnode, out, '#remove should be chainable');
+ Expect.isNull(out);
Expect.equals(2, node.nodes.length);
Expect.isTrue(node.nodes[0] is Text);
Expect.isTrue(node.nodes[1] is Comment);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698