summaryrefslogtreecommitdiffstats
path: root/test/expected/test_config.sh_a0907769aba112d628e7ebe39c4ec252e5e0bc69.err
blob: f04b83aa709bb3c2678632aa9ab4899da350493c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
⚠ warning: unexpected value for property “/ui/theme-defs/invalid-theme/styles/text/bad-property”
 --> {test_dir}/bad-config2/configs/invalid-theme/config.json:9
 |                         "bad-property": "abc"
 =   help: Available Properties
           color #hex|color_name
           background-color #hex|color_name
           underline 
           bold
✘ error: “abc(” is not a valid regular expression
 reason: missing closing parenthesis
 --> /ui/theme-defs/invalid-theme/highlights/foobar/pattern
 | abc(                                    
 |     ^ missing closing parenthesis       
 --> {test_dir}/bad-config2/configs/invalid-theme/config.json:14
 |                         "pattern": "abc("
 = help: Property Synopsis
           /ui/theme-defs/invalid-theme/highlights/foobar/pattern regular expression
         Description
           The regular expression to highlight
✘ error: “bad” is not a supported configuration $schema version
 --> {test_dir}/bad-config2/formats/invalid-config/config.bad-schema.json:2
 |     "$schema": "bad"                    
 = note: expecting one of the following $schema values:
           https://lnav.org/schemas/config-v1.schema.json
 = help: Property Synopsis
           /$schema <schema-uri>
         Description
           The URI that specifies the schema that describes this type of file
         Example
           https://lnav.org/schemas/config-v1.schema.json
⚠ warning: unexpected value for property “/ui”
 --> {test_dir}/bad-config2/formats/invalid-config/config.malformed.json:2
 |     "ui": "theme",                      
 =   help: Available Properties
           $schema <schema-uri>
           tuning/ 
           ui/ 
           log/ 
           global/
✘ error: invalid JSON
 --> {test_dir}/bad-config2/formats/invalid-config/config.malformed.json:3
 | parse error: object key and value must be separated by a colon (':')
 |                "ui": "theme",     "abc",     "def": "" }            
 |                      (right here) ------^                           
 |                                                                     
⚠ warning: unexpected value for property “/ui”
 --> {test_dir}/bad-config2/formats/invalid-config/config.truncated.json:2
 |     "ui": "theme"                       
 =   help: Available Properties
           $schema <schema-uri>
           tuning/ 
           ui/ 
           log/ 
           global/
✘ error: invalid JSON
 reason: parse error: premature EOF
 --> {test_dir}/bad-config2/formats/invalid-config/config.truncated.json:3
✘ error: missing value for property “/log/annotations/org.lnav.test.no-condition/condition”
 reason: incomplete input
 --> /log/annotations/org.lnav.test.no-condition/condition
 = help: Property Synopsis
           /log/annotations/org.lnav.test.no-condition/condition <SQL-expression>
         Description
           The SQLite expression to execute for a log message that determines whether or not this annotation is applicable.  The expression is evaluated the same way as a filter expression
✘ error: missing value for property “/log/annotations/org.lnav.test.no-handler/handler”
 reason: Every annotation requires a handler
 = help: Property Synopsis
           /log/annotations/org.lnav.test.no-handler/handler <script>
         Description
           The script to execute to generate the annotation content. A JSON object with the log message content will be sent to the script on the standard input
✘ error: invalid value for property “/ui/theme-defs/invalid-theme/styles/text/color”
 reason: invalid color -- “InvalidColor”
 |        reason: Unknown color: 'InvalidColor'.  See https://jonasjacek.github.io/colors/ for a list of supported color names
 --> {test_dir}/bad-config2/configs/invalid-theme/config.json:8
 = help: Property Synopsis
           /ui/theme-defs/invalid-theme/styles/text/color #hex|color_name
         Description
           The foreground color value for this style. The value can be the name of an xterm color, the hexadecimal value, or a theme variable reference.
         Examples
           #fff
           Green
           $black