Index: tests/html/node_validator_test.dart |
diff --git a/tests/html/node_validator_test.dart b/tests/html/node_validator_test.dart |
index ea4ead5f1807b99ee961e39e78d49b35d8184924..045a2b8a3d4faceb224521e09a995b61b217fe38 100644 |
--- a/tests/html/node_validator_test.dart |
+++ b/tests/html/node_validator_test.dart |
@@ -340,9 +340,7 @@ main() { |
}); |
group('allowSvg', () { |
- var validator = new NodeValidatorBuilder() |
- ..allowSvg() |
- ..allowTextElements(); |
+ var validator = new NodeValidatorBuilder()..allowSvg(); |
testHtml('allows basic SVG', |
validator, |
@@ -377,10 +375,10 @@ main() { |
'<div>Some content</div>' |
'</body>' |
'</foreignobject>' |
- '<b>42</b>' |
+ '<number>42</number>' |
'</svg>', |
'<svg xmlns="http://www.w3.org/2000/svg">' |
- '<b>42</b>' |
+ '<number>42</number>' |
'</svg>'); |
}); |