Skip to content

Commit

Permalink
Fix unit test error in TEST_F(JsonSerializerErrorInjectionTestSuite, …
Browse files Browse the repository at this point in the history
…SerilizationError).
  • Loading branch information
PengZheng committed Jan 16, 2024
1 parent 4c6d4db commit b61b6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/dfi/src/json_serializer.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static int jsonSerializer_parseAny(const dyn_type* type, void* loc, json_t* val)
if (json_is_null(val)) {
//nop
} else if (json_is_string(val)) {
dynType_text_allocAndInit(type, loc, json_string_value(val));
status = dynType_text_allocAndInit(type, loc, json_string_value(val));
} else {
status = ERROR;
celix_err_pushf("Expected json string type got %i", json_typeof(val));
Expand Down

0 comments on commit b61b6bd

Please sign in to comment.