diff options
Diffstat (limited to 'tests/config/write.c')
-rw-r--r-- | tests/config/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/write.c b/tests/config/write.c index 402be9317..734360167 100644 --- a/tests/config/write.c +++ b/tests/config/write.c @@ -281,7 +281,7 @@ void test_config_write__can_set_an_empty_value(void) const char * str; repository = cl_git_sandbox_init("testrepo.git"); - cl_git_pass(git_repository_config(&config, repository)); + cl_git_pass(git_repository_config_writable(&config, repository)); cl_git_pass(git_config_set_string(config, "core.somevar", "")); cl_git_pass(git_config_get_string(&str, config, "core.somevar")); |