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
6
testdata/remove-key-mixed.ct
vendored
6
testdata/remove-key-mixed.ct
vendored
|
|
@ -3,8 +3,8 @@ $ pda set bar1@rkm 2
|
|||
$ pda set bar2@rkm 3
|
||||
$ pda rm foo@rkm --key "bar*@rkm" -y
|
||||
$ pda get foo@rkm --> FAIL
|
||||
FAIL cannot get 'foo@rkm': no such key
|
||||
FAIL cannot get 'foo@rkm': no such key
|
||||
$ pda get bar1@rkm --> FAIL
|
||||
FAIL cannot get 'bar1@rkm': no such key
|
||||
FAIL cannot get 'bar1@rkm': no such key
|
||||
$ pda get bar2@rkm --> FAIL
|
||||
FAIL cannot get 'bar2@rkm': no such key
|
||||
FAIL cannot get 'bar2@rkm': no such key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue