summaryrefslogtreecommitdiffstats
path: root/test/bad-config2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
commit5068d34c08f951a7ea6257d305a1627b09a95817 (patch)
tree08213e2be853396a3b07ce15dbe222644dcd9a89 /test/bad-config2
parentInitial commit. (diff)
downloadlnav-5068d34c08f951a7ea6257d305a1627b09a95817.tar.xz
lnav-5068d34c08f951a7ea6257d305a1627b09a95817.zip
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/bad-config2')
-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"