We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0d986 commit 53978c1Copy full SHA for 53978c1
tests/sap.test.cpp
@@ -207,15 +207,15 @@ TEST(SAP, ExecuteWithMergedOptions) {
207
sap_options_t* old_options = (sap_options_t*) calloc(1, sizeof(sap_options_t));
208
209
sap_option_t opt_a = {
210
- .label = (char*) "key",
211
- .value = (char*) "previous_value",
212
- .is_flag = 0
+ (char*) "key",
+ (char*) "previous_value",
+ 0
213
};
214
215
sap_option_t opt_b = {
216
- .label = (char*) "new_key",
217
- .value = NULL,
218
- .is_flag = 1
+ (char*) "new_key",
+ NULL,
+ 1
219
220
221
old_options->list[0] = &opt_a;
0 commit comments