Index: tests/html/instance_of_test.dart |
diff --git a/tests/html/instance_of_test.dart b/tests/html/instance_of_test.dart |
index 2d6069dc78382a910546375061f1e56637cd6bbc..6e70809e6f051850bfdc88edd1b6cdc10aec9350 100644 |
--- a/tests/html/instance_of_test.dart |
+++ b/tests/html/instance_of_test.dart |
@@ -9,7 +9,7 @@ main() { |
canvas = new Element.tag('canvas'); |
canvas.attributes['width'] = '100'; |
canvas.attributes['height'] = '100'; |
- document.body.nodes.add(canvas); |
+ document.body.append(canvas); |
var isCanvasRenderingContext = predicate((x) => x is CanvasRenderingContext, |
'is a CanvasRenderingContext'); |