mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 21:55:00 +00:00
tests: set isFinal in test_reset_in_entity
Without this, parsing may be deferred so that the suspending callback hasn't been called when the test checks for it.
This commit is contained in:
parent
2e12534145
commit
bb3c171980
1 changed files with 1 additions and 1 deletions
|
@ -2325,7 +2325,7 @@ START_TEST(test_reset_in_entity) {
|
|||
|
||||
g_resumable = XML_TRUE;
|
||||
XML_SetCharacterDataHandler(g_parser, clearing_aborting_character_handler);
|
||||
if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_FALSE)
|
||||
if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE)
|
||||
== XML_STATUS_ERROR)
|
||||
xml_failure(g_parser);
|
||||
XML_GetParsingStatus(g_parser, &status);
|
||||
|
|
Loading…
Add table
Reference in a new issue