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
4
testdata/list-all.ct
vendored
4
testdata/list-all.ct
vendored
|
|
@ -23,7 +23,7 @@ Key Store Value TTL
|
|||
lax laa 1 no expiry
|
||||
# --store cannot be combined with positional arg
|
||||
$ pda ls --store "laa" laa --> FAIL
|
||||
FAIL cannot use --store with a store argument
|
||||
FAIL cannot use --store with a store argument
|
||||
# --store no matches
|
||||
$ pda ls --store "nonexistent" --key "lax" --> FAIL
|
||||
FAIL cannot ls 'all': no matches for key pattern 'lax' and store pattern 'nonexistent'
|
||||
FAIL cannot ls 'all': no matches for key pattern 'lax' and store pattern 'nonexistent'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue