Skip to content

Commit 6c18147

Browse files
authored
Fix invalid XML without root element in Benchmark (#304)
## Why? A fix was missed in #291.
1 parent 8c41d35 commit 6c18147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/parse_comment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ prelude: |
2626
2727
SIZE = 100000
2828
29-
top_level_xml = "<!--" + "a" * SIZE + "-->\n"
30-
in_doctype_xml = "<!DOCTYPE foo [<!--" + "a" * SIZE + "-->]>"
29+
top_level_xml = "<!--" + "a" * SIZE + "-->\n<root/>"
30+
in_doctype_xml = "<!DOCTYPE foo [<!--" + "a" * SIZE + "-->]><root/>"
3131
after_doctype_xml = "<root/><!--" + "a" * SIZE + "-->"
3232
3333
benchmark:

0 commit comments

Comments
 (0)