Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-01-03 21:10:38 +0400
committerBen Straub <bs@github.com>2013-01-03 21:10:38 +0400
commit600d8dbf6dccff5a9d86dd5ae01a53de46471796 (patch)
treeac1d09e8e3ae38d96c071a8869544f0959cf06ec /tests-clar/stash
parentbffbeebbec2878c5329e63b40ecae3715423eac6 (diff)
Move test cleanup into cleanup functions
Diffstat (limited to 'tests-clar/stash')
-rw-r--r--tests-clar/stash/save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/stash/save.c b/tests-clar/stash/save.c
index 2302ebb4d..e6033e1ef 100644
--- a/tests-clar/stash/save.c
+++ b/tests-clar/stash/save.c
@@ -32,6 +32,7 @@ void test_stash_save__cleanup(void)
repo = NULL;
cl_git_pass(git_futils_rmdir_r("stash", NULL, GIT_RMDIR_REMOVE_FILES));
+ cl_fixture_cleanup("sorry-it-is-a-non-bare-only-party");
}
static void assert_object_oid(const char* revision, const char* expected_oid, git_otype type)
@@ -211,7 +212,6 @@ void test_stash_save__cannot_stash_against_a_bare_repository(void)
git_stash_save(&stash_tip_oid, local, signature, NULL, GIT_STASH_DEFAULT));
git_repository_free(local);
- cl_fixture_cleanup("sorry-it-is-a-non-bare-only-party");
}
void test_stash_save__can_stash_against_a_detached_head(void)