Commit 0daf998d by Edward Thomson Committed by Edward Thomson

config: use wildcard in test instead of empty expr

parent 63c0cc65
...@@ -252,7 +252,7 @@ void test_config_write__overwrite_multivar_within_duplicate_header(void) ...@@ -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)); cl_git_pass(git_config_get_entry(&entry, cfg, entry_name));
/* Update that entry */ /* 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 */ /* Reopen the file and make sure the entry was updated */
git_config_entry_free(entry); git_config_entry_free(entry);
......
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