Commit 417319cc86e1bc7a89f6ab00443448a4d034c3bc

Patrick Steinhardt 2017-04-25T10:14:37

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tests/core/features.c b/tests/core/features.c
index cf5e190..7b28cc0 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);