Skip to content

Commit 4b421cd

Browse files
committed
tests: adjust to new CFL API changes
Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
1 parent c2be76e commit 4b421cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/decoding.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static int generate_dummy_array_attribute_set(struct cfl_array **out_array, size
8181
}
8282

8383
cfl_array_append_string(array, "string value");
84-
cfl_array_append_bytes(array, "\xFF\xEE\xFF\xEE\xCA\xFE", 6);
84+
cfl_array_append_bytes(array, "\xFF\xEE\xFF\xEE\xCA\xFE", 6, CFL_FALSE);
8585
cfl_array_append_bool(array, CTR_TRUE);
8686
cfl_array_append_int64(array, 303456);
8787
cfl_array_append_double(array, 1.23456);
@@ -164,7 +164,7 @@ static int generate_dummy_kvlist_attribute_set(struct cfl_kvlist **out_kvlist, s
164164
return -3;
165165
}
166166

167-
result = cfl_kvlist_insert_bytes(kvlist, "bytes value", "\xFE\xEE\xFF\xEE\xCA\xFE", 6);
167+
result = cfl_kvlist_insert_bytes(kvlist, "bytes value", "\xFE\xEE\xFF\xEE\xCA\xFE", 6, CFL_FALSE);
168168

169169
if (result != 0) {
170170
return -3;

0 commit comments

Comments
 (0)