You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fix pub sub mode
There is likely a better and more performant way to fix this but this works so far and should be good enough to release and improve later. Make test more robust Add another test
This commit is contained in:
@@ -33,7 +33,7 @@ describe("The 'hgetall' method", function () {
|
||||
});
|
||||
|
||||
it('handles fetching keys set using an object', function (done) {
|
||||
client.HMSET("msg_test", {message: "hello"}, helper.isString("OK"));
|
||||
client.HMSET("msg_test", { message: "hello" }, helper.isString("OK"));
|
||||
client.hgetall("msg_test", function (err, obj) {
|
||||
assert.strictEqual(1, Object.keys(obj).length);
|
||||
assert.strictEqual(obj.message, "hello");
|
||||
|
Reference in New Issue
Block a user