You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Add a lot more tests to indicate that the everything is consistent
Add a test for #390 More special cases
This commit is contained in:
@@ -35,12 +35,12 @@ describe("The 'type' method", function () {
|
||||
});
|
||||
|
||||
it('reports zset type', function (done) {
|
||||
client.zadd(["zset key", "10.0", "should be a zset"], helper.isNumber(1));
|
||||
client.zadd("zset key", ["10.0", "should be a zset"], helper.isNumber(1));
|
||||
client.TYPE(["zset key"], helper.isString("zset", done));
|
||||
});
|
||||
|
||||
it('reports hash type', function (done) {
|
||||
client.hset(["hash key", "hashtest", "should be a hash"], helper.isNumber(1));
|
||||
client.hset("hash key", "hashtest", "should be a hash", helper.isNumber(1));
|
||||
client.TYPE(["hash key"], helper.isString("hash", done));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user