tests: core::features: only check for HTTPS if it is supported

This commit is contained in:
Patrick Steinhardt 2017-04-25 10:14:37 +02:00
parent a4de1ae389
commit 417319cc86

View File

@ -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);