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/mv-encrypt.ct
vendored
4
testdata/mv-encrypt.ct
vendored
|
|
@ -1,8 +1,8 @@
|
|||
# Move an encrypted key; the new key should still decrypt.
|
||||
$ pda set --encrypt secret-key@mve hidden-value
|
||||
$ pda mv secret-key@mve moved-key@mve
|
||||
ok renamed secret-key@mve to moved-key@mve
|
||||
ok renamed secret-key@mve to moved-key@mve
|
||||
$ pda get moved-key@mve
|
||||
hidden-value
|
||||
$ pda get secret-key@mve --> FAIL
|
||||
FAIL cannot get 'secret-key@mve': no such key
|
||||
FAIL cannot get 'secret-key@mve': no such key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue