chore(testdata): updates test expectations to match new error messaging
This commit is contained in:
parent
06e09df829
commit
def2941128
10 changed files with 22 additions and 173 deletions
10
testdata/set__err__with__invalid-ttl.ct
vendored
10
testdata/set__err__with__invalid-ttl.ct
vendored
|
|
@ -1,12 +1,2 @@
|
|||
$ pda set a b --ttl 3343r --> FAIL
|
||||
Error: invalid argument "3343r" for "-t, --ttl" flag: time: unknown unit "r" in duration "3343r"
|
||||
Usage:
|
||||
pda set KEY[@DB] [VALUE] [flags]
|
||||
|
||||
Aliases:
|
||||
set, s
|
||||
|
||||
Flags:
|
||||
-h, --help help for set
|
||||
--secret Mark the stored value as a secret
|
||||
-t, --ttl duration Expire the key after the provided duration (e.g. 24h, 30m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue