diff options
Diffstat (limited to 'tests-clay/index/rename.c')
| -rw-r--r-- | tests-clay/index/rename.c | 11 | 
1 files changed, 1 insertions, 10 deletions
diff --git a/tests-clay/index/rename.c b/tests-clay/index/rename.c index f81125434..c949fa7f2 100644 --- a/tests-clay/index/rename.c +++ b/tests-clay/index/rename.c @@ -1,16 +1,7 @@  #include "clay_libgit2.h" +#include "testlib.h"  #include "posix.h" -static void file_create(const char *filename, const char *content) -{ -	int fd; - -	fd = p_creat(filename, 0666); -	cl_assert(fd != 0); -	cl_git_pass(p_write(fd, content, strlen(content))); -	cl_git_pass(p_close(fd)); -} -  void test_index_rename__single_file(void)  {  	git_repository *repo;  | 
