mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-21 20:41:26 +00:00
test-rename: This is not a decimal, silly
This commit is contained in:
parent
5b4a70836a
commit
c0e58e430b
@ -968,10 +968,10 @@ static void write_similarity_file_two(const char *filename, size_t b_lines)
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < b_lines; i++)
|
||||
git_buf_printf(&contents, "%0.2d - bbbbb\r\n", (int)(i+1));
|
||||
git_buf_printf(&contents, "%02d - bbbbb\r\n", (int)(i+1));
|
||||
|
||||
for (i = b_lines; i < 50; i++)
|
||||
git_buf_printf(&contents, "%0.2d - aaaaa%s", (int)(i+1), (i == 49 ? "" : "\r\n"));
|
||||
git_buf_printf(&contents, "%02d - aaaaa%s", (int)(i+1), (i == 49 ? "" : "\r\n"));
|
||||
|
||||
cl_git_pass(
|
||||
git_futils_writebuffer(&contents, filename, O_RDWR|O_CREAT, 0777));
|
||||
|
Loading…
Reference in New Issue
Block a user