| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 63160de commit 4ebe407
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,2 @@ | |||
| 1 | + [core] | ||
| 2 | + filemode = "" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -416,6 +416,10 @@ def test_config_with_quotes(self): | |||
| 416 | 416 | self.assertEqual(cr.get("user", "name"), "Cody Veal") | |
| 417 | 417 | self.assertEqual(cr.get("user", "email"), "cveal05@gmail.com") | |
| 418 | 418 | ||
| 419 | + def test_config_with_empty_quotes(self): | ||
| 420 | + cr = GitConfigParser(fixture_path("git_config_with_empty_quotes"), read_only=True) | ||
| 421 | + self.assertEqual(cr.get("core", "filemode"), "", "quotes can form a literal empty string as value") | ||
| 422 | + | ||
| 419 | 423 | def test_config_with_quotes_with_literal_whitespace(self): | |
| 420 | 424 | cr = GitConfigParser(fixture_path("git_config_with_quotes_whitespace_inside"), read_only=True) | |
| 421 | 425 | self.assertEqual(cr.get("core", "commentString"), "# ") | |
| Back | FazBrowse Home | New Git URL |
0 commit comments