mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
fix xml.tostring
This commit is contained in:
parent
bac0d43fd7
commit
61af506f4c
3 changed files with 47 additions and 1 deletions
|
|
@ -22,3 +22,9 @@ TEST(XML, VCM) {
|
|||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
TEST(XML, TWO_WAYS) {
|
||||
auto src = "<test><sub>test</sub></test>";
|
||||
auto document = xml::parse("<test>", src);
|
||||
ASSERT_EQ(src, xml::stringify(*document->getRoot(), false));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue