You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Add test for HINCRBY
This commit is contained in:
7
test.js
7
test.js
@@ -100,6 +100,13 @@ tests.HMGET = function () {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tests.HINCRBY = function () {
|
||||||
|
var name = "HINCRBY";
|
||||||
|
client.hset("hash incr", "value", 10, require_number(1, name));
|
||||||
|
client.HINCRBY("hash incr", "value", 1, require_number(11, name));
|
||||||
|
client.HINCRBY("hash incr", "value 2", 1, last(name, require_number(1, name)));
|
||||||
|
};
|
||||||
|
|
||||||
tests.EXISTS = function () {
|
tests.EXISTS = function () {
|
||||||
var name = "EXISTS";
|
var name = "EXISTS";
|
||||||
client.del("foo", "foo2", require_number_any(name));
|
client.del("foo", "foo2", require_number_any(name));
|
||||||
|
Reference in New Issue
Block a user