Skip to content

Commit 417319c

Browse files
committed
tests: core::features: only check for HTTPS if it is supported
1 parent a4de1ae commit 417319c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/core/features.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ void test_core_features__0(void)
1717
cl_assert((caps & GIT_FEATURE_THREADS) == 0);
1818
#endif
1919

20+
#ifdef GIT_HTTPS
2021
cl_assert((caps & GIT_FEATURE_HTTPS) != 0);
22+
#endif
2123

2224
#if defined(GIT_SSH)
2325
cl_assert((caps & GIT_FEATURE_SSH) != 0);

0 commit comments

Comments
 (0)