We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c1a47d commit cdaebdcCopy full SHA for cdaebdc
tests/unit/switch_xml.c
@@ -34,7 +34,7 @@
34
35
#include <test/switch_test.h>
36
37
-FST_MINCORE_BEGIN()
+FST_MINCORE_BEGIN("./conf")
38
{
39
FST_SUITE_BEGIN(switch_xml)
40
@@ -62,9 +62,8 @@ FST_MINCORE_BEGIN()
62
xml = switch_xml_parse_str_dynamic((char *)text, SWITCH_TRUE);
63
fst_requires(xml);
64
fst_check((xml->flags & SWITCH_XML_CDATA) == 0);
65
- xml = xml->child;
66
- fst_check_string_equals(xml->name, "tag");
67
- fst_check(xml->flags & SWITCH_XML_CDATA);
+ fst_check_string_equals(xml->child->name, "tag");
+ fst_check(xml->child->flags & SWITCH_XML_CDATA);
68
switch_xml_free(xml);
69
}
70
FST_TEST_END()
0 commit comments