chore: add license headers and --drop golden test

This commit is contained in:
Lewis Wynne 2026-02-11 00:08:34 +00:00
parent 32e7a79c71
commit 84c55311d1
3 changed files with 53 additions and 0 deletions

9
testdata/restore__drop__ok.ct vendored Normal file
View file

@ -0,0 +1,9 @@
$ pda set existing keep-me
$ pda set other also-keep
$ fecho dumpfile {"key":"new","value":"hello","encoding":"text"}
$ pda restore --drop --file dumpfile
Restored 1 entries into @default
$ pda get new
hello
$ pda get existing --> FAIL
Error: cannot get 'existing': No such key