mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-12 11:17:37 +00:00
Merge pull request #2474 from ethomson/clar_file_report
Switch description and message reporting in `clar__assert_equal_file`
This commit is contained in:
commit
851ae37ea0
@ -471,7 +471,7 @@ void clar__assert_equal_file(
|
|||||||
buf, sizeof(buf), "file content mismatch at byte %d",
|
buf, sizeof(buf), "file content mismatch at byte %d",
|
||||||
(int)(total_bytes + pos));
|
(int)(total_bytes + pos));
|
||||||
p_close(fd);
|
p_close(fd);
|
||||||
clar__fail(file, line, buf, path, 1);
|
clar__fail(file, line, path, buf, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
expected_data += bytes;
|
expected_data += bytes;
|
||||||
|
Loading…
Reference in New Issue
Block a user