Skip to content

Commit

Permalink
ConfParserTest: Add test case
Browse files Browse the repository at this point in the history
If we have a section MakeFiles and a makefiles section we want them to
be merged to the first of those. So the user can input values for
sections case insensitively while we don't throw away his casing.
  • Loading branch information
sils committed Feb 9, 2015
1 parent 885a1a6 commit 6c7f210
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coalib/tests/parsing/ConfParserTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ConfParserTestCase(unittest.TestCase):
; just a omment
nokey. = value
default.test = content
makefiles.lastone = val
"""

def setUp(self):
Expand Down Expand Up @@ -59,6 +60,7 @@ def test_parse(self):
('another', 'a\nmultiline\nvalue'),
('comment1', '; just a omment'),
('comment2', '; just a omment'),
('lastone', 'val'),
('comment3', ''),
('a_default', 'val'),
('comment0', '# do you know that thats a comment'),
Expand Down

0 comments on commit 6c7f210

Please sign in to comment.