config: add test data for iniconf.

This commit is contained in:
Kyle Isom 2022-02-20 17:42:49 -08:00
parent b893e99864
commit 30ffbbdbc5
3 changed files with 21 additions and 0 deletions

5
config/iniconf/testdata/bad.conf vendored Normal file
View File

@ -0,0 +1,5 @@
[]
key
another key
key = val

13
config/iniconf/testdata/test.conf vendored Normal file
View File

@ -0,0 +1,13 @@
[ sectionName ]
key1=some value
key2 = some other value
# we want to explain the importance and great forethought
# in this next value.
key3 = unintuitive value
key4 = " space at beginning and end "
key5 = ' is quoted with single quotes '
[ anotherSection ]
key1 = a value
key2 = yet another value
key1 = overwrites previous value of a value

3
config/iniconf/testdata/test2.conf vendored Normal file
View File

@ -0,0 +1,3 @@
key1 = some value
key2 = some other value
key3 = unintuitive value