Skip to content

Commit 9517029

Browse files
committed
tests: core: test initialization of git_proxy_options
Initialization of the `git_proxy_options` structure is never tested anywhere. Include it in our usual initialization test in "core::structinit::compare".
1 parent bee423c commit 9517029

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/core/structinit.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,9 @@ void test_core_structinit__compare(void)
165165
CHECK_MACRO_FUNC_INIT_EQUAL( \
166166
git_submodule_update_options, GIT_SUBMODULE_UPDATE_OPTIONS_VERSION, \
167167
GIT_SUBMODULE_UPDATE_OPTIONS_INIT, git_submodule_update_init_options);
168+
169+
/* submodule update */
170+
CHECK_MACRO_FUNC_INIT_EQUAL( \
171+
git_proxy_options, GIT_PROXY_OPTIONS_VERSION, \
172+
GIT_PROXY_OPTIONS_INIT, git_proxy_init_options);
168173
}

0 commit comments

Comments
 (0)