refactor(msg): single space between keyword and message, improve config suggestions
Tightens keyword formatting (ok/FAIL/hint/etc.) from two spaces to one. Makes config key suggestions more generous: normalises spaces to underscores, matches against leaf segments, and uses substring matching. Updates all golden files.
This commit is contained in:
parent
db607ac696
commit
c9b448d508
47 changed files with 144 additions and 118 deletions
2
testdata/template-require-err.ct
vendored
2
testdata/template-require-err.ct
vendored
|
|
@ -2,4 +2,4 @@
|
|||
$ fecho tpl {{ require .FILE }}
|
||||
$ pda set tmpl@tplr < tpl
|
||||
$ pda get tmpl@tplr --> FAIL
|
||||
FAIL cannot get 'tmpl@tplr': template: cmd:1:3: executing "cmd" at <require .FILE>: error calling require: required value is missing or empty
|
||||
FAIL cannot get 'tmpl@tplr': template: cmd:1:3: executing "cmd" at <require .FILE>: error calling require: required value is missing or empty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue