summaryrefslogtreecommitdiffstats
path: root/test/bad-config2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/bad-config2/formats/invalid-config/config.bad-schema.json3
-rw-r--r--test/bad-config2/formats/invalid-config/config.json5
-rw-r--r--test/bad-config2/formats/invalid-config/config.malformed.json5
-rw-r--r--test/bad-config2/formats/invalid-config/config.truncated.json2
4 files changed, 15 insertions, 0 deletions
diff --git a/test/bad-config2/formats/invalid-config/config.bad-schema.json b/test/bad-config2/formats/invalid-config/config.bad-schema.json
new file mode 100644
index 0000000..b011164
--- /dev/null
+++ b/test/bad-config2/formats/invalid-config/config.bad-schema.json
@@ -0,0 +1,3 @@
+{
+ "$schema": "bad"
+} \ No newline at end of file
diff --git a/test/bad-config2/formats/invalid-config/config.json b/test/bad-config2/formats/invalid-config/config.json
new file mode 100644
index 0000000..ba5cf2f
--- /dev/null
+++ b/test/bad-config2/formats/invalid-config/config.json
@@ -0,0 +1,5 @@
+{
+ "ui": {
+ "theme": "foo"
+ }
+} \ No newline at end of file
diff --git a/test/bad-config2/formats/invalid-config/config.malformed.json b/test/bad-config2/formats/invalid-config/config.malformed.json
new file mode 100644
index 0000000..0935e8b
--- /dev/null
+++ b/test/bad-config2/formats/invalid-config/config.malformed.json
@@ -0,0 +1,5 @@
+{
+ "ui": "theme",
+ "abc",
+ "def": ""
+} \ No newline at end of file
diff --git a/test/bad-config2/formats/invalid-config/config.truncated.json b/test/bad-config2/formats/invalid-config/config.truncated.json
new file mode 100644
index 0000000..fc01f0d
--- /dev/null
+++ b/test/bad-config2/formats/invalid-config/config.truncated.json
@@ -0,0 +1,2 @@
+{
+ "ui": "theme"