mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 11:06:32 +00:00
tests: core::features: only check for HTTPS if it is supported
This commit is contained in:
@@ -17,7 +17,9 @@ void test_core_features__0(void)
|
||||
cl_assert((caps & GIT_FEATURE_THREADS) == 0);
|
||||
#endif
|
||||
|
||||
#ifdef GIT_HTTPS
|
||||
cl_assert((caps & GIT_FEATURE_HTTPS) != 0);
|
||||
#endif
|
||||
|
||||
#if defined(GIT_SSH)
|
||||
cl_assert((caps & GIT_FEATURE_SSH) != 0);
|
||||
|
||||
Reference in New Issue
Block a user