Skip to content

Commit

Permalink
fix: build error when used in C++ source code files.
Browse files Browse the repository at this point in the history
  • Loading branch information
qgymib committed Mar 27, 2024
1 parent 7753d72 commit 87bce97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cutest.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ extern "C" {
unsigned long number_of_parameterized_data = sizeof(s_parameterized_userdata) / sizeof(s_parameterized_userdata[0]);\
unsigned long i = 0;\
for (i = 0; i < number_of_parameterized_data; i++) {\
s_tests[i].node = (cutest_map_node_t){ NULL, NULL, NULL };\
s_tests[i].node = { NULL, NULL, NULL };\
s_tests[i].info.fixture_name = #fixture;\
s_tests[i].info.case_name = #test;\
s_tests[i].stage.setup = s_cutest_fixture_setup_##fixture;\
Expand Down

0 comments on commit 87bce97

Please sign in to comment.