Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinquize <linquize@yahoo.com.hk>2013-09-30 19:58:58 +0400
committerLinquize <linquize@yahoo.com.hk>2013-10-01 05:56:59 +0400
commitd52a93fab330dbbe1271c10b527d333261638fe3 (patch)
tree65dc8d603cd19b1ab73472280dbf6e08928e7329 /tests-clar/config
parent566dd8cec06e511490c6473d2440c39ff1b2851c (diff)
Add test case to test ']' and '\\' characters in config subsection
Diffstat (limited to 'tests-clar/config')
-rw-r--r--tests-clar/config/read.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests-clar/config/read.c b/tests-clar/config/read.c
index 722a15a71..ab068eaa7 100644
--- a/tests-clar/config/read.c
+++ b/tests-clar/config/read.c
@@ -164,6 +164,13 @@ void test_config_read__empty_files(void)
git_config_free(cfg);
}
+void test_config_read__symbol_headers(void)
+{
+ git_config *cfg;
+ cl_git_pass(git_config_open_ondisk(&cfg, cl_fixture("config/config20")));
+ git_config_free(cfg);
+}
+
void test_config_read__header_in_last_line(void)
{
git_config *cfg;