diff options
Diffstat (limited to 'tests/t12-repo.c')
| -rw-r--r-- | tests/t12-repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t12-repo.c b/tests/t12-repo.c index 6a080ecb3..7c45e0126 100644 --- a/tests/t12-repo.c +++ b/tests/t12-repo.c @@ -68,7 +68,7 @@ static int write_file(const char *path, const char *content) int error; git_file file; - if (git_path_exists(path) == GIT_SUCCESS) { + if (git_path_exists(path) == true) { error = p_unlink(path); if (error < GIT_SUCCESS) |
