style: renames testdata so tests can actually be parsed at a glance

This commit is contained in:
Lewis Wynne 2026-02-11 16:38:09 +00:00
parent a4d2e919dc
commit 3c2a0129c0
83 changed files with 122 additions and 131 deletions

16
testdata/import-key-filter.ct vendored Normal file
View file

@ -0,0 +1,16 @@
$ pda set a1@ikf 1
$ pda set a2@ikf 2
$ pda set b1@ikf 3
$ fecho dumpfile {"key":"a1","value":"1","encoding":"text"} {"key":"a2","value":"2","encoding":"text"} {"key":"b1","value":"3","encoding":"text"}
$ pda rm a1@ikf a2@ikf b1@ikf
$ pda import ikf --key "a*" --file dumpfile
ok restored 2 entries into @ikf
$ pda get a1@ikf
1
$ pda get a2@ikf
2
$ pda get b1@ikf --> FAIL
FAIL cannot get 'b1@ikf': no such key
hint did you mean 'a1'?
$ pda import ikf --key "c*" --file dumpfile --> FAIL
FAIL cannot restore '@ikf': no matches for key pattern 'c*'