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/import-drop.ct
vendored
4
testdata/import-drop.ct
vendored
|
|
@ -2,8 +2,8 @@ $ pda set existing@idr keep-me
|
|||
$ pda set other@idr also-keep
|
||||
$ fecho dumpfile {"key":"new","value":"hello","encoding":"text"}
|
||||
$ pda import idr --drop --file dumpfile
|
||||
ok restored 1 entries into @idr
|
||||
ok restored 1 entries into @idr
|
||||
$ pda get new@idr
|
||||
hello
|
||||
$ pda get existing@idr --> FAIL
|
||||
FAIL cannot get 'existing@idr': no such key
|
||||
FAIL cannot get 'existing@idr': no such key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue