Commit 851ae37ea00cfe7dcca6b840429916942614caf6

Vicent Marti 2014-07-15T10:58:02

Merge pull request #2474 from ethomson/clar_file_report Switch description and message reporting in `clar__assert_equal_file`

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/clar_libgit2.c b/tests/clar_libgit2.c
index 0a4c3e8..faeee03 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;