Commit 874303d4 by nulltoken

refs: readonly tests don't need a sandboxed repo

parent 2d012c0c
...@@ -16,12 +16,12 @@ static git_repository *g_repo; ...@@ -16,12 +16,12 @@ static git_repository *g_repo;
void test_refs_read__initialize(void) void test_refs_read__initialize(void)
{ {
g_repo = cl_git_sandbox_init("testrepo"); cl_git_pass(git_repository_open(&g_repo, cl_fixture("testrepo.git")));
} }
void test_refs_read__cleanup(void) void test_refs_read__cleanup(void)
{ {
cl_git_sandbox_cleanup(); git_repository_free(g_repo);
} }
void test_refs_read__loose_tag(void) void test_refs_read__loose_tag(void)
......
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