From b94580da121059a29e634d944701a102498033a0 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Mon, 6 Feb 2017 16:27:09 +0000 Subject: [PATCH] Extend coverage to XML_{Start|End}DoctypeDeclHandler --- expat/tests/runtests.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 44269be1..a5e30ee7 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -1063,9 +1063,8 @@ START_TEST(test_dtd_default_handling) "]>"; XML_SetDefaultHandler(parser, accumulate_characters); - XML_SetDoctypeDeclHandler(parser, - dummy_start_doctype_handler, - dummy_end_doctype_handler); + XML_SetStartDoctypeDeclHandler(parser, dummy_start_doctype_handler); + XML_SetEndDoctypeDeclHandler(parser, dummy_end_doctype_handler); XML_SetEntityDeclHandler(parser, dummy_entity_decl_handler); XML_SetNotationDeclHandler(parser, dummy_notation_decl_handler); XML_SetElementDeclHandler(parser, dummy_element_decl_handler); -- 2.40.0