Commit 21d8832e by Edward Thomson

config::write::repeated: init our buffer

parent a13c1ec2
...@@ -700,7 +700,7 @@ void test_config_write__repeated(void) ...@@ -700,7 +700,7 @@ void test_config_write__repeated(void)
{ {
const char *filename = "config-repeated"; const char *filename = "config-repeated";
git_config *cfg; git_config *cfg;
git_buf result; git_buf result = GIT_BUF_INIT;
const char *expected = "[sample \"prefix\"]\n\ const char *expected = "[sample \"prefix\"]\n\
\tsetting1 = someValue1\n\ \tsetting1 = someValue1\n\
\tsetting2 = someValue2\n\ \tsetting2 = someValue2\n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment