Add test case for _init_set with empty tree.

This commit is contained in:
Patrick Pelissier committed 2022-08-02 23:02:33 +02:00
1 parent 121339d948
commit b6e0994dfc
1 file changed
+1 -1
+1 -1
View File
@@ -358,7 +358,7 @@ static void test_gen(void)
tree_t t, t0;
string_t s;
tree_init(t);
tree_init(t0);
tree_init_set(t0, t);
string_init(s);
g_root = g_tree[++ g_num] = tree_set_root(t, 1);
tree_get_str(s, t, false);