diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-04-25 10:14:37 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-04-25 10:15:59 +0200 |
commit | 417319cc86e1bc7a89f6ab00443448a4d034c3bc (patch) | |
tree | 8222e2a3421c7551a5285355b3eff93b9e82cc30 | |
parent | a4de1ae38980ea52d675d52d60d19f1bec61c127 (diff) | |
download | libgit2-417319cc86e1bc7a89f6ab00443448a4d034c3bc.tar.gz |
tests: core::features: only check for HTTPS if it is supported
-rw-r--r-- | tests/core/features.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/core/features.c b/tests/core/features.c index cf5e19063..7b28cc0cb 100644 --- a/tests/core/features.c +++ b/tests/core/features.c @@ -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); |