Index: tests/html/svgelement_test.dart |
diff --git a/tests/html/svgelement_test.dart b/tests/html/svgelement_test.dart |
index 3fd62f3ebd5e642b0b807105b9d47a538ac5a3f6..776ecf8745ad7c8b88f376de0f78c8a86d0528c4 100644 |
--- a/tests/html/svgelement_test.dart |
+++ b/tests/html/svgelement_test.dart |
@@ -34,7 +34,7 @@ main() { |
expect(isExpectedClass(new svg.SvgElement.tag(tagName)), expectation); |
if (allowsInnerHtml) { |
expect(isExpectedClass(new svg.SvgElement.svg('<$tagName></$tagName>')), |
- allowsInnerHtml); |
+ expectation && allowsInnerHtml); |
} |
}); |
} |