Skip to content

Commit

Permalink
in_systemd: test: Add a forgotten nullcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Sep 13, 2024
1 parent 5d47113 commit da173ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/runtime/in_systemd.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static void cb_check_cfl_variant_properties(void *ctx, int ffd,

/* Convert from msgpack to JSON */
output = flb_msgpack_raw_to_json_sds(res_data, res_size);
TEST_CHECK(output != NULL);

result = strstr(output, "\"MESSAGE\":\"test native message with multiple values\"");
if (TEST_CHECK(result != NULL)) {
Expand Down

0 comments on commit da173ee

Please sign in to comment.