mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-30 22:59:52 +00:00
tests: core::features: only check for HTTPS if it is supported
This commit is contained in:
parent
a4de1ae389
commit
417319cc86
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user