Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and bjoernricks committed Jan 24, 2025
1 parent 0afc157 commit 6593fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/json_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Ensure (json, gvm_json_obj_double_gets_value)
json = cJSON_Parse ("{ \"eg\": 2.3 }");
assert_that (json, is_not_null);
d = gvm_json_obj_double (json, "eg");
assert_that_double (d, is_equal_to_double(2.3));
assert_that_double (d, is_equal_to_double (2.3));
}

Ensure (json, gvm_json_obj_double_0_when_missing)
Expand All @@ -59,7 +59,7 @@ Ensure (json, gvm_json_obj_double_0_when_missing)
json = cJSON_Parse ("{ \"eg\": 2.3 }");
assert_that (json, is_not_null);
d = gvm_json_obj_double (json, "err");
assert_that_double (d, is_equal_to_double(0));
assert_that_double (d, is_equal_to_double (0));
}

int
Expand Down

0 comments on commit 6593fc3

Please sign in to comment.