diff options
author | Vicent Marti <tanoku@gmail.com> | 2014-03-03 12:40:25 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2014-03-03 12:40:25 +0100 |
commit | ebb3c506fd880a383ea66679865e16e24253cb3a (patch) | |
tree | beaedbaefb17bafb280d74c22a758d8042a7eb42 /tests | |
parent | 2491c416ed84fb575506b0b58fb234ab2daa24fb (diff) | |
download | libgit2-vmg/features.tar.gz |
features: Rename `_HAS_` to `_FEATURE_`vmg/features
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/features.c | 12 |
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 } |