mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 13:12:22 +00:00
config: use wildcard in test instead of empty expr
This commit is contained in:
parent
63c0cc65bc
commit
0daf998de7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user