config: update memory backend test to reproduce crash

This commit is contained in:
Kevin Saul
2026-04-29 22:11:28 +12:00
committed by Edward Thomson
parent 4c2fdc7ed2
commit 19e5738d80

View File

@@ -20,6 +20,7 @@ static void assert_config_contains(git_config_backend *backend,
git_config_entry *entry = NULL;
cl_git_pass(git_config_backend_get_string(&entry, backend, name));
cl_assert_equal_s(entry->value, value);
git_config_entry_free(entry);
}
struct expected_entry {