aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-07 19:39:30 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-08-07 19:39:30 -0500
commitc73710bd173702e9d0e1cf005333274c23418574 (patch)
treea5f603d037a7e9c3b07453a95359d63bf9cfac12
parentAdd mypy, update pytest, and add lint tasks (diff)
downloadconfig-file-c73710bd173702e9d0e1cf005333274c23418574.zip
Add invalid templates
-rw-r--r--tests/templates/ini/invalid.ini2
-rw-r--r--tests/templates/toml/invalid.toml1
-rw-r--r--tests/templates/yaml/invalid.yaml6
3 files changed, 9 insertions, 0 deletions
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
diff --git a/tests/templates/toml/invalid.toml b/tests/templates/toml/invalid.toml
new file mode 100644
index 0000000..d1b18e3
--- /dev/null
+++ b/tests/templates/toml/invalid.toml
@@ -0,0 +1 @@
+[[[[[[notvalidtoml]]]]]] \ No newline at end of file
diff --git a/tests/templates/yaml/invalid.yaml b/tests/templates/yaml/invalid.yaml
new file mode 100644
index 0000000..cf2a4ff
--- /dev/null
+++ b/tests/templates/yaml/invalid.yaml
@@ -0,0 +1,6 @@
+invalid-yaml:
+yar:
+i:
+am:
+invalid:
+boo \ No newline at end of file