aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates/ini
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:25:00 -0500
committerGitHub <noreply@github.com>2020-08-07 20:25:00 -0500
commit05dba35cab34c2524b945da0164327b7b8a1159d (patch)
treee1f263a316839c0d32a413c120a3c92426f36817 /tests/templates/ini
parentCreate python-package-ci.yml (diff)
parentFix ConfigFile default (diff)
downloadconfig-file-05dba35cab34c2524b945da0164327b7b8a1159d.zip
Merge pull request #24 from eugenetriguba/dev
v0.11.0
Diffstat (limited to 'tests/templates/ini')
-rw-r--r--tests/templates/ini/all_strings.ini7
-rw-r--r--tests/templates/ini/default.ini7
-rw-r--r--tests/templates/ini/invalid.ini2
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/templates/ini/all_strings.ini b/tests/templates/ini/all_strings.ini
new file mode 100644
index 0000000..9ac0ecf
--- /dev/null
+++ b/tests/templates/ini/all_strings.ini
@@ -0,0 +1,7 @@
+[header]
+list = []
+dict = {}
+num = 5
+bool = false
+float = 5.5
+
diff --git a/tests/templates/ini/default.ini b/tests/templates/ini/default.ini
new file mode 100644
index 0000000..4f711db
--- /dev/null
+++ b/tests/templates/ini/default.ini
@@ -0,0 +1,7 @@
+[header_one]
+number_key = 0
+
+[header_two]
+str_key = "string"
+list_key = [1, 2, 3]
+
diff --git a/tests/templates/ini/invalid.ini b/tests/templates/ini/invalid.ini
new file mode 100644
index 0000000..c2a81db
--- /dev/null
+++ b/tests/templates/ini/invalid.ini
@@ -0,0 +1,2 @@
+[[[[[]]]]]
+i am a key \ No newline at end of file