mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
test/xml: use xmlBufferContent()
xmlBuffer->content has been deprecated.
This commit is contained in:
parent
1043a9becc
commit
7e27f78662
1 changed files with 1 additions and 1 deletions
2
t/xml.c
2
t/xml.c
|
|
@ -111,7 +111,7 @@ test_lab_xml_expand_dotted_attributes(void **state)
|
|||
|
||||
xmlBuffer *buf = xmlBufferCreate();
|
||||
xmlNodeDump(buf, root->doc, root, 0, 0);
|
||||
assert_string_equal(test_cases[i].after, (char *)buf->content);
|
||||
assert_string_equal(test_cases[i].after, (char *)xmlBufferContent(buf));
|
||||
xmlBufferFree(buf);
|
||||
|
||||
xmlFreeDoc(doc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue