caps: add test for GIT_FEATURES_NSEC

This commit is contained in:
Axel Rasmussen 2015-06-02 12:45:30 -06:00
parent 0269833f92
commit 2be7855727

View File

@ -28,4 +28,10 @@ void test_core_features__0(void)
#else #else
cl_assert((caps & GIT_FEATURE_SSH) == 0); cl_assert((caps & GIT_FEATURE_SSH) == 0);
#endif #endif
#if defined(GIT_USE_NSEC)
cl_assert((caps & GIT_FEATURE_NSEC) != 0);
#else
cl_assert((caps & GIT_FEATURE_NSEC) == 0);
#endif
} }