summaryrefslogtreecommitdiff
path: root/tests-clar/repo/discover.c
diff options
context:
space:
mode:
authorBen Straub <ben@straubnet.net>2012-03-31 19:47:59 -0700
committerBen Straub <ben@straubnet.net>2012-03-31 19:47:59 -0700
commit20ec426ddeed994a0198756401b1138287813ad1 (patch)
treecc99e78faca0a589641830eae2d534d5672d07b4 /tests-clar/repo/discover.c
parentfd29cd13b70b9a3a90ca605e2d1a633a08f1daf7 (diff)
downloadlibgit2-20ec426ddeed994a0198756401b1138287813ad1.tar.gz
Discovered cl_git_strequal! Mounted a crusade!
Diffstat (limited to 'tests-clar/repo/discover.c')
-rw-r--r--tests-clar/repo/discover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/repo/discover.c b/tests-clar/repo/discover.c
index afa3e2d9f..9d0f0835c 100644
--- a/tests-clar/repo/discover.c
+++ b/tests-clar/repo/discover.c
@@ -28,7 +28,7 @@ static void ensure_repository_discover(const char *start_path, const char *ceili
char found_path[GIT_PATH_MAX];
cl_git_pass(git_repository_discover(found_path, sizeof(found_path), start_path, 0, ceiling_dirs));
//across_fs is always 0 as we can't automate the filesystem change tests
- cl_assert(0 == strcmp(found_path, expected_path));
+ cl_assert_strequal(found_path, expected_path);
}
static void write_file(const char *path, const char *content)