diff options
Diffstat (limited to '')
-rw-r--r-- | test/expected/test_config.sh_a0907769aba112d628e7ebe39c4ec252e5e0bc69.err | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/expected/test_config.sh_a0907769aba112d628e7ebe39c4ec252e5e0bc69.err b/test/expected/test_config.sh_a0907769aba112d628e7ebe39c4ec252e5e0bc69.err new file mode 100644 index 0000000..ec11ba5 --- /dev/null +++ b/test/expected/test_config.sh_a0907769aba112d628e7ebe39c4ec252e5e0bc69.err @@ -0,0 +1,38 @@ +[1m[31m✘ error[0m: '[1mbad[0m' is not a supported configuration $schema version +[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.bad-schema.json[0m:2 +[36m | [0m[37m[40m "$schema": "bad" [0m +[36m =[0m [36mnote[0m: expecting one of the following $schema values: + [1m https://lnav.org/schemas/config-v1.schema.json[0m +[36m =[0m [36mhelp[0m: [1mProperty Synopsis[0m + [1m/$schema[0m [4m<schema-uri>[0m + [1mDescription[0m + The URI that specifies the schema that describes this type of file + [1mExample[0m + https://lnav.org/schemas/config-v1.schema.json +[33m⚠ warning[0m: unexpected value for property “[1m/ui[0m” +[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.malformed.json[0m:2 +[36m | [0m[37m[40m "ui": "theme", [0m +[36m =[0m [36mhelp[0m: [1mAvailable Properties[0m + [1m$schema[0m [4m<schema-uri>[0m + [1mtuning[0m[1m/[0m + [1mui[0m[1m/[0m + [1mlog[0m[1m/[0m + [1mglobal[0m[1m/[0m +[1m[31m✘ error[0m: invalid JSON +[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.malformed.json[0m:3 +[36m | [0mparse error: object key and value must be separated by a colon (':') +[36m | [0m "ui": "theme", "abc", "def": "" } +[36m | [0m (right here) ------^ +[36m | [0m +[33m⚠ warning[0m: unexpected value for property “[1m/ui[0m” +[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.truncated.json[0m:2 +[36m | [0m[37m[40m "ui": "theme" [0m +[36m =[0m [36mhelp[0m: [1mAvailable Properties[0m + [1m$schema[0m [4m<schema-uri>[0m + [1mtuning[0m[1m/[0m + [1mui[0m[1m/[0m + [1mlog[0m[1m/[0m + [1mglobal[0m[1m/[0m +[1m[31m✘ error[0m: invalid JSON + [1m[31mreason[0m: parse error: premature EOF +[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.truncated.json[0m:3 |