Closed ivulfson closed 10 years ago
As an extension of this bug, decr()
is broken, since you can't specify amount=>-1
.
The correct parameter is delta
. Do the docs say amount
? If so, I should fix one or the other. Not decided on which one makes more sense, though.
Oh, I see, the docs use amount
.
Yep, that works. :)
You get this warning:
Unrecognized key 'amount' at ./t line 24.
but the increment actually works (i.e, value does get incremented).