Solving a bug with no params but a child

This commit is contained in:
Tristan Roux
2019-12-06 10:55:41 +01:00
parent 5d4e415291
commit 767cf1f289
2 changed files with 13 additions and 11 deletions
+1 -2
View File
@@ -55,9 +55,8 @@ Test(xml, withchild)
node *n = xml_parsenode(&xml);
cr_assert_str_eq(n->name, "yes");
cr_assert_eq(n->next, NULL);
cr_expect_eq(n->next, NULL);
cr_assert_eq(n->properties, NULL);
cr_assert_eq(n->properties->next, NULL);
cr_assert_str_eq(n->child->name, "nop");
cr_assert_eq(n->child->child, NULL);
cr_assert_eq(n->child->properties, NULL);