Test `ConfigParser` with whitespace outside the value · gitpython-developers/GitPython@e5a2db5 · GitHub
Skip to content

Commit e5a2db5

Browse files
committed
Test ConfigParser with whitespace outside the value
In both the: - Unquoted case, where extra whitespace is at the edges of what can be parsed as the value. - Quoted case, where extra whitespace is next to but outside of the quotes. The case where the whitespace is at the edges of the quoted value and *inside* the quotes, and thus part of the value, is already covered in #2036. (That is merely renamed here, to distinguish it.)
1 parent 2e0d835 commit e5a2db5

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[init]
2+
defaultBranch = "trunk"

test/test_config.py

Lines changed: 9 additions & 1 deletion

0 commit comments

Comments
 (0)