diff --git a/expat/tests/misc_tests.c b/expat/tests/misc_tests.c
index 46e0354c..cec7b4b6 100644
--- a/expat/tests/misc_tests.c
+++ b/expat/tests/misc_tests.c
@@ -333,7 +333,7 @@ START_TEST(test_misc_deny_internal_entity_closing_doctype_issue_317) {
"\n"
"%e;";
const char *const inputTwo = "'>\n"
+ "'>\n"
"\n"
"%e2;";
const char *const inputThree = "