summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-06-13 11:08:28 +0200
committerPatrick Steinhardt <ps@pks.im>2017-06-13 11:35:48 +0200
commit95170294a17083f89e7c30cd1d3f6b888d951c5a (patch)
tree194e4a96666a4f52aa60414b4c967445bbc3f0e1
parentbee423cc265a691179c745b1db68a85b2e3ec644 (diff)
downloadlibgit2-95170294a17083f89e7c30cd1d3f6b888d951c5a.tar.gz
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".
-rw-r--r--tests/core/structinit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/core/structinit.c b/tests/core/structinit.c
index e9f7b4a74..2d214405f 100644
--- a/tests/core/structinit.c
+++ b/tests/core/structinit.c
@@ -165,4 +165,9 @@ void test_core_structinit__compare(void)
CHECK_MACRO_FUNC_INIT_EQUAL( \
git_submodule_update_options, GIT_SUBMODULE_UPDATE_OPTIONS_VERSION, \
GIT_SUBMODULE_UPDATE_OPTIONS_INIT, git_submodule_update_init_options);
+
+ /* submodule update */
+ CHECK_MACRO_FUNC_INIT_EQUAL( \
+ git_proxy_options, GIT_PROXY_OPTIONS_VERSION, \
+ GIT_PROXY_OPTIONS_INIT, git_proxy_init_options);
}