Skip to content

Commit

Permalink
tests: variant: adjust API to new prototypes
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Apr 12, 2024
1 parent 2c113a1 commit 5b09826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/variant.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ static void test_variant_print_string_s()
continue;
}

val = cfl_variant_create_from_string_s(inputs[i].str, inputs[i].str_size);
val = cfl_variant_create_from_string_s(inputs[i].str, inputs[i].str_size, CFL_TRUE);
if (!TEST_CHECK(val != NULL)) {
TEST_MSG("%d: cfl_variant_create_from_string failed", i);
fclose(fp);
Expand Down Expand Up @@ -487,7 +487,7 @@ static void test_variant_print_bytes()
exit(1);
}

val = cfl_variant_create_from_bytes(input, 4);
val = cfl_variant_create_from_bytes(input, 4, CFL_FALSE);
if (!TEST_CHECK(val != NULL)) {
TEST_MSG("cfl_variant_create_from_bytes failed");
fclose(fp);
Expand Down

0 comments on commit 5b09826

Please sign in to comment.