Merge pull request #2474 from ethomson/clar_file_report

Switch description and message reporting in `clar__assert_equal_file`
This commit is contained in:
Vicent Marti 2014-07-15 10:58:02 -07:00
commit 851ae37ea0

View File

@ -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;