Commit 5eab4daf by Basile Henry

Add test config parsing

This tests parsing a multiline string containing multiple quoted comment
chars. See #6019
parent f1b89a20
...@@ -213,6 +213,13 @@ void test_config_read__symbol_headers(void) ...@@ -213,6 +213,13 @@ void test_config_read__symbol_headers(void)
git_config_free(cfg); git_config_free(cfg);
} }
void test_config_read__multiline_multiple_quoted_comment_chars(void)
{
git_config *cfg;
cl_git_pass(git_config_open_ondisk(&cfg, cl_fixture("config/config21")));
git_config_free(cfg);
}
void test_config_read__header_in_last_line(void) void test_config_read__header_in_last_line(void)
{ {
git_config *cfg; git_config *cfg;
......
[alias]
m = '\
";" \
";" \
'
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