summaryrefslogtreecommitdiff
path: root/tests/libgit2/config/config_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/config/config_helpers.h')
-rw-r--r--tests/libgit2/config/config_helpers.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/libgit2/config/config_helpers.h b/tests/libgit2/config/config_helpers.h
new file mode 100644
index 000000000..440645730
--- /dev/null
+++ b/tests/libgit2/config/config_helpers.h
@@ -0,0 +1,13 @@
+extern void assert_config_entry_existence(
+ git_repository *repo,
+ const char *name,
+ bool is_supposed_to_exist);
+
+extern void assert_config_entry_value(
+ git_repository *repo,
+ const char *name,
+ const char *expected_value);
+
+extern int count_config_entries_match(
+ git_repository *repo,
+ const char *pattern);