summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-06 16:48:04 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-14 09:57:01 +0100
commitc0dd7122da182517e77d1dde6f737dc9d0d0f28a (patch)
tree1ff8ea964e9a399c765d63eb4951418a789727e8 /tests
parent0b5ba0d744e69da5dc8c08d167c83dd87ed83af2 (diff)
downloadlibgit2-c0dd7122da182517e77d1dde6f737dc9d0d0f28a.tar.gz
apply: add an options struct initializerethomson/opts_init
Diffstat (limited to 'tests')
-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 82286a210..f9da8237c 100644
--- a/tests/core/structinit.c
+++ b/tests/core/structinit.c
@@ -72,6 +72,11 @@ void test_core_structinit__compare(void)
clar__skip();
#endif
+ /* apply */
+ CHECK_MACRO_FUNC_INIT_EQUAL( \
+ git_apply_options, GIT_APPLY_OPTIONS_VERSION, \
+ GIT_APPLY_OPTIONS_INIT, git_apply_options_init);
+
/* blame */
CHECK_MACRO_FUNC_INIT_EQUAL( \
git_blame_options, GIT_BLAME_OPTIONS_VERSION, \