summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/core/features.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/core/features.c b/tests/core/features.c
index b8c9003ba..3ce02f4d6 100644
--- a/tests/core/features.c
+++ b/tests/core/features.c
@@ -12,20 +12,20 @@ void test_core_features__0(void)
caps = git_libgit2_features();
#ifdef GIT_THREADS
- cl_assert((caps & GIT_HAS_THREADS) != 0);
+ cl_assert((caps & GIT_FEATURE_THREADS) != 0);
#else
- cl_assert((caps & GIT_HAS_THREADS) == 0);
+ cl_assert((caps & GIT_FEATURE_THREADS) == 0);
#endif
#if defined(GIT_SSL) || defined(GIT_WINHTTP)
- cl_assert((caps & GIT_HAS_HTTPS) != 0);
+ cl_assert((caps & GIT_FEATURE_HTTPS) != 0);
#else
- cl_assert((caps & GIT_HAS_HTTPS) == 0);
+ cl_assert((caps & GIT_FEATURE_HTTPS) == 0);
#endif
#if defined(GIT_SSH)
- cl_assert((caps & GIT_HAS_SSH) != 0);
+ cl_assert((caps & GIT_FEATURE_SSH) != 0);
#else
- cl_assert((caps & GIT_HAS_SSH) == 0);
+ cl_assert((caps & GIT_FEATURE_SSH) == 0);
#endif
}