Commit d226fbf1aa1943c49b863736592be3c9b82cbee3

Linquize 2014-12-07T22:42:06

Fix broken test suite on Windows

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tests/network/remote/local.c b/tests/network/remote/local.c
index 1132d95..170d67e 100644
--- a/tests/network/remote/local.c
+++ b/tests/network/remote/local.c
@@ -494,9 +494,8 @@ void test_network_remote_local__push_delete(void)
 	cl_git_pass(git_remote_push(remote, &specs, NULL, NULL, NULL));
 	cl_git_fail(git_reference_lookup(&ref, dst_repo, "refs/heads/master"));
 
-	cl_fixture_cleanup("target.git");
-
 	git_remote_free(remote);
 	git_repository_free(dst_repo);
-	git_repository_free(src_repo);
+	cl_fixture_cleanup("target.git");
+	cl_git_sandbox_cleanup();
 }