Skip to content

Commit

Permalink
fix(json_parser): fix build failure with newer unity component
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Dec 13, 2023
1 parent 1b26317 commit e0fa3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_parser/test/test_json_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ TEST_CASE("json_parser basic tests", "[json_parser]")
TEST_ASSERT_EQUAL_STRING("JSON Parser", str_val);

TEST_ASSERT_EQUAL(OS_SUCCESS, json_obj_get_float(&jctx, "float_val", &float_val));
TEST_ASSERT(fabs(float_val - 2.0f) < 0.0001f)
TEST_ASSERT(fabs(float_val - 2.0f) < 0.0001f);

TEST_ASSERT_EQUAL(OS_SUCCESS, json_obj_get_int(&jctx, "int_val", &int_val));
TEST_ASSERT_EQUAL_INT(2017, int_val);
Expand Down

0 comments on commit e0fa3a3

Please sign in to comment.