summaryrefslogtreecommitdiff
path: root/tests-clar/repo/open.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-05-07 17:04:06 +0200
committernulltoken <emeric.fermas@gmail.com>2012-05-08 10:05:22 +0200
commit0b0957a66109b545ded7332591b4fcb8f7e13fd0 (patch)
tree2d932d0c7304565aa65cd529c20520a4ca895f78 /tests-clar/repo/open.c
parentd7d8a0bfd4ab86d7c87d4f318c6b3e6fa7dab746 (diff)
downloadlibgit2-0b0957a66109b545ded7332591b4fcb8f7e13fd0.tar.gz
fileops: replace integer usage with more explicit enum in some git_futils_rmdir_r() calls
Diffstat (limited to 'tests-clar/repo/open.c')
-rw-r--r--tests-clar/repo/open.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/repo/open.c b/tests-clar/repo/open.c
index 91443e8ae..292466390 100644
--- a/tests-clar/repo/open.c
+++ b/tests-clar/repo/open.c
@@ -7,7 +7,7 @@ void test_repo_open__cleanup(void)
cl_git_sandbox_cleanup();
if (git_path_isdir("alternate"))
- git_futils_rmdir_r("alternate", 1);
+ git_futils_rmdir_r("alternate", GIT_DIRREMOVAL_FILES_AND_DIRS);
}
void test_repo_open__bare_empty_repo(void)
@@ -202,8 +202,8 @@ void test_repo_open__bad_gitlinks(void)
cl_git_fail(git_repository_open_ext(&repo, "alternate", 0, NULL));
}
- git_futils_rmdir_r("invalid", 1);
- git_futils_rmdir_r("invalid2", 1);
+ git_futils_rmdir_r("invalid", GIT_DIRREMOVAL_FILES_AND_DIRS);
+ git_futils_rmdir_r("invalid2", GIT_DIRREMOVAL_FILES_AND_DIRS);
}
#ifdef GIT_WIN32