summaryrefslogtreecommitdiff
path: root/tests/t15-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t15-config.c')
-rw-r--r--tests/t15-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t15-config.c b/tests/t15-config.c
index aa5ba28f6..05de25f8c 100644
--- a/tests/t15-config.c
+++ b/tests/t15-config.c
@@ -300,7 +300,7 @@ BEGIN_TEST(config16, "add a variable in a new section")
/* As the section wasn't removed, owerwrite the file */
must_pass(git_filebuf_open(&buf, CONFIG_BASE "/config10", 0));
- must_pass(git_filebuf_write(&buf, "[empty]\n", STRLEN("[empty]\n")));
+ must_pass(git_filebuf_write(&buf, "[empty]\n", strlen("[empty]\n")));
must_pass(git_filebuf_commit(&buf));
END_TEST