Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-06-25 02:12:19 +0400
committerVicent Marti <tanoku@gmail.com>2013-06-25 02:12:19 +0400
commitc0e58e430b5befcdbcd937193e420d86fd3658a4 (patch)
treee847f196a74f0ed2f228cbe1eedc8b43ce1f3be2
parent5b4a70836a7d10dcc7b78d2748e6a48ae40eb37b (diff)
test-rename: This is not a decimal, silly
-rw-r--r--tests-clar/diff/rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/diff/rename.c b/tests-clar/diff/rename.c
index 79f407057..2b1873bd5 100644
--- a/tests-clar/diff/rename.c
+++ b/tests-clar/diff/rename.c
@@ -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));