tests: internal: pack: use new flb_pack_json() prototype
@@ -41,6 +41,7 @@ static inline void consume_bytes(char *buf, int bytes, int length)
void test_json_pack()
{
int ret;
+ int root_type;
size_t len;
char *data;
char *out_buf;
@@ -51,7 +52,7 @@ void test_json_pack()
len = strlen(data);
- ret = flb_pack_json(data, len, &out_buf, &out_size);
+ ret = flb_pack_json(data, len, &out_buf, &out_size, &root_type);
TEST_CHECK(ret == 0);
flb_free(data);
