config: use wildcard in test instead of empty expr

This commit is contained in:
Edward Thomson 2015-04-27 16:31:18 -04:00 committed by Edward Thomson
parent 63c0cc65bc
commit 0daf998de7

View File

@ -252,7 +252,7 @@ void test_config_write__overwrite_multivar_within_duplicate_header(void)
cl_git_pass(git_config_get_entry(&entry, cfg, entry_name));
/* Update that entry */
cl_git_pass(git_config_set_multivar(cfg, entry_name, "", "newurl"));
cl_git_pass(git_config_set_multivar(cfg, entry_name, ".*", "newurl"));
/* Reopen the file and make sure the entry was updated */
git_config_entry_free(entry);