diff --git a/tests/utests/data/test_new.c b/tests/utests/data/test_new.c index 2d5344db1..5cee9032e 100644 --- a/tests/utests/data/test_new.c +++ b/tests/utests/data/test_new.c @@ -130,10 +130,12 @@ test_top_level(void **state) lyd_free_tree(node); const char *key_vals[] = {"a", "b"}; + assert_int_equal(lyd_new_list3(NULL, mod, "l1", key_vals, NULL, 0, &node), LY_SUCCESS); lyd_free_tree(node); uint32_t val_lens[] = {1, 1}; + assert_int_equal(lyd_new_list3_bin(NULL, mod, "l1", (const void **)key_vals, val_lens, 0, &node), LY_SUCCESS); lyd_free_tree(node);