tests: Improve test_misc_deny_internal_entity_closing_doctype_issue_317 case 3

"%e;" resolves to "]><d" which needs additional "/>" to make the
wanted "]><d/>", eventually.
This commit is contained in:
Sebastian Pipping 2024-11-05 00:10:19 +01:00
parent 80c2512d71
commit 20580a4550

View file

@ -339,7 +339,7 @@ START_TEST(test_misc_deny_internal_entity_closing_doctype_issue_317) {
const char *const inputThree = "<!DOCTYPE d [\n"
"<!ENTITY % e ']><d'>\n"
"\n"
"%e;";
"%e;/>";
const char *const inputIssue317 = "<!DOCTYPE doc [\n"
"<!ENTITY % foo ']>\n"
"<doc>Hell<oc (#PCDATA)*>'>\n"