From f79315608d16727319e152c077b4e4c8be725d46 Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Tue, 17 Oct 2023 14:18:03 +0200 Subject: [PATCH] test REFACTOR formatting --- tests/utests/data/test_new.c | 2 ++ 1 file changed, 2 insertions(+) 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);