]> granicus.if.org Git - libexpat/commitdiff
Fix error messages in test_bad_doctype_* tests
authorRhodri James <rhodri@kynesim.co.uk>
Fri, 16 Jun 2017 17:00:46 +0000 (18:00 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 22 Jul 2017 20:49:20 +0000 (22:49 +0200)
expat/tests/runtests.c

index dee14f5ae9d85d37fcde86fbe0250072ee658909..24395fd58f266142d55c9fce2fe085e407132448 100644 (file)
@@ -6295,7 +6295,7 @@ START_TEST(test_bad_doctype_star)
         "<1*>&foo;</1*>";
 
     expect_failure(text, XML_ERROR_INVALID_TOKEN,
-                   "'+' in document name not faulted");
+                   "'*' in document name not faulted");
 }
 END_TEST
 
@@ -6306,7 +6306,7 @@ START_TEST(test_bad_doctype_query)
         "<1?>&foo;</1?>";
 
     expect_failure(text, XML_ERROR_INVALID_TOKEN,
-                   "'+' in document name not faulted");
+                   "'?' in document name not faulted");
 }
 END_TEST