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/remove-dedupe.ct
vendored
4
testdata/remove-dedupe.ct
vendored
|
|
@ -7,6 +7,6 @@ bar rdd 2 no expiry
|
|||
foo rdd 1 no expiry
|
||||
$ pda rm foo@rdd --key "*@rdd" -y
|
||||
$ pda get bar@rdd --> FAIL
|
||||
FAIL cannot get 'bar@rdd': no such key
|
||||
FAIL cannot get 'bar@rdd': no such key
|
||||
$ pda get foo@rdd --> FAIL
|
||||
FAIL cannot get 'foo@rdd': no such key
|
||||
FAIL cannot get 'foo@rdd': no such key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue