Skip to content

Commit 53978c1

Browse files
committed
- Removed labeled assignments.
1 parent ea0d986 commit 53978c1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/sap.test.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,15 @@ TEST(SAP, ExecuteWithMergedOptions) {
207207
sap_options_t* old_options = (sap_options_t*) calloc(1, sizeof(sap_options_t));
208208

209209
sap_option_t opt_a = {
210-
.label = (char*) "key",
211-
.value = (char*) "previous_value",
212-
.is_flag = 0
210+
(char*) "key",
211+
(char*) "previous_value",
212+
0
213213
};
214214

215215
sap_option_t opt_b = {
216-
.label = (char*) "new_key",
217-
.value = NULL,
218-
.is_flag = 1
216+
(char*) "new_key",
217+
NULL,
218+
1
219219
};
220220

221221
old_options->list[0] = &opt_a;

0 commit comments

Comments
 (0)