summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-07-15 10:58:02 -0700
committerVicent Marti <vicent@github.com>2014-07-15 10:58:02 -0700
commit851ae37ea00cfe7dcca6b840429916942614caf6 (patch)
treeb89b4e94e666f8d90d2ad585b26d88302c069a77
parenta6d7e166344cb0d9aa5ecca037a975f9f19e64f1 (diff)
parent3d997dc25539e9e57e01849d0e386c4c4b55766e (diff)
downloadlibgit2-851ae37ea00cfe7dcca6b840429916942614caf6.tar.gz
Merge pull request #2474 from ethomson/clar_file_report
Switch description and message reporting in `clar__assert_equal_file`
-rw-r--r--tests/clar_libgit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/clar_libgit2.c b/tests/clar_libgit2.c
index 0a4c3e8e5..faeee031a 100644
--- a/tests/clar_libgit2.c
+++ b/tests/clar_libgit2.c
@@ -471,7 +471,7 @@ void clar__assert_equal_file(
buf, sizeof(buf), "file content mismatch at byte %d",
(int)(total_bytes + pos));
p_close(fd);
- clar__fail(file, line, buf, path, 1);
+ clar__fail(file, line, path, buf, 1);
}
expected_data += bytes;