Commit 7a936258 by Yuang Li

add test for shallow feature flag

parent 13bd14d9
#include "clar_libgit2.h"
void test_shallow_feature_flag__set_feature_flag(void)
{
cl_must_pass(git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 1));
}
void test_shallow_feature_flag__unset_feature_flag(void)
{
cl_must_pass(git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 0));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment