mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 13:45:00 +00:00
tests: Make suspend_after_element_declaration check for XML_StopParser success
Idea by Sebastian Andrzej Siewior
This commit is contained in:
parent
f46a225dc4
commit
7b05b1420b
1 changed files with 1 additions and 1 deletions
|
@ -1847,7 +1847,7 @@ suspend_after_element_declaration(void *userData, const XML_Char *name,
|
|||
XML_Content *model) {
|
||||
UNUSED_P(name);
|
||||
XML_Parser parser = (XML_Parser)userData;
|
||||
XML_StopParser(parser, /*resumable*/ XML_TRUE);
|
||||
assert_true(XML_StopParser(parser, /*resumable*/ XML_TRUE) == XML_STATUS_OK);
|
||||
XML_FreeContentModel(parser, model);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue