summaryrefslogtreecommitdiff
path: root/tests/core
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-06-14 10:49:28 +0200
committerGitHub <noreply@github.com>2017-06-14 10:49:28 +0200
commit8296da5f60f5b079bed9c944e1d56ad786ae0ecb (patch)
tree0ef9b1b043a08988dff951cfdcbed752edf9a08d /tests/core
parent4e257dab4a70202037a9b08e17c50689a0e09ad7 (diff)
parenta78441bc467f964261f24b2a1d011cc84fc96708 (diff)
downloadlibgit2-8296da5f60f5b079bed9c944e1d56ad786ae0ecb.tar.gz
Merge pull request #4267 from mohseenrm/master
adding GIT_FILTER_VERSION to GIT_FILTER_INIT as part of convention
Diffstat (limited to 'tests/core')
-rw-r--r--tests/core/structinit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/core/structinit.c b/tests/core/structinit.c
index 2d214405f..78503fcc6 100644
--- a/tests/core/structinit.c
+++ b/tests/core/structinit.c
@@ -1,5 +1,6 @@
#include "clar_libgit2.h"
#include <git2/sys/config.h>
+#include <git2/sys/filter.h>
#include <git2/sys/odb_backend.h>
#include <git2/sys/refdb_backend.h>
#include <git2/sys/transport.h>
@@ -96,6 +97,11 @@ void test_core_structinit__compare(void)
git_diff_find_options, GIT_DIFF_FIND_OPTIONS_VERSION, \
GIT_DIFF_FIND_OPTIONS_INIT, git_diff_find_init_options);
+ /* filter */
+ CHECK_MACRO_FUNC_INIT_EQUAL( \
+ git_filter, GIT_FILTER_VERSION, \
+ GIT_FILTER_INIT, git_filter_init);
+
/* merge_file_input */
CHECK_MACRO_FUNC_INIT_EQUAL( \
git_merge_file_input, GIT_MERGE_FILE_INPUT_VERSION, \