Skip to content

Commit 58f2202

Browse files
committed
test: fix invalid XML
XML must have a root element.
1 parent e865165 commit 58f2202

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_contrib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def test_bad_doctype_Tobias
7070
>
7171
]
7272
>
73+
<svg/>
7374
EOF
7475
doc = REXML::Document.new source
7576
doc.write(out="")

0 commit comments

Comments
 (0)