Skip to content

Commit

Permalink
test REFACTOR formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Oct 17, 2023
1 parent 0eff98d commit f793156
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/utests/data/test_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f793156

Please sign in to comment.