From 207df6fc406e81bfeebdff7f404bd242ff3f099f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 7 May 2024 06:48:35 +0200 Subject: Merging upstream version 0.12.2. Signed-off-by: Daniel Baumann --- .../configs/invalid-annotation/config.json | 14 ++++++++++++++ test/bad-config2/configs/invalid-theme/config.json | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 test/bad-config2/configs/invalid-annotation/config.json create mode 100644 test/bad-config2/configs/invalid-theme/config.json (limited to 'test/bad-config2') diff --git a/test/bad-config2/configs/invalid-annotation/config.json b/test/bad-config2/configs/invalid-annotation/config.json new file mode 100644 index 0000000..9fae7de --- /dev/null +++ b/test/bad-config2/configs/invalid-annotation/config.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://lnav.org/schemas/config-v1.schema.json", + "log": { + "annotations": { + "org.lnav.test.no-handler": { + "description": "annotation without a handler" + }, + "org.lnav.test.no-condition": { + "description": "annotation without a condition", + "handler": "my-handler" + } + } + } +} \ No newline at end of file diff --git a/test/bad-config2/configs/invalid-theme/config.json b/test/bad-config2/configs/invalid-theme/config.json new file mode 100644 index 0000000..cfbeda5 --- /dev/null +++ b/test/bad-config2/configs/invalid-theme/config.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://lnav.org/schemas/config-v1.schema.json", + "ui": { + "theme-defs": { + "invalid-theme": { + "styles": { + "text": { + "color": "InvalidColor", + "bad-property": "abc" + } + }, + "highlights": { + "foobar": { + "pattern": "abc(" + } + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3