You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fixed null HGETALL bug causing exception
This commit is contained in:
10
test.js
10
test.js
@@ -347,6 +347,16 @@ tests.HGETALL = function () {
|
||||
});
|
||||
};
|
||||
|
||||
tests.HGETALL_NULL = function () {
|
||||
var name = "HGETALL_NULL";
|
||||
client.hgetall('missing', function(err, obj){
|
||||
console.log(err);
|
||||
console.log(obj);
|
||||
next(name);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
var all_tests = Object.keys(tests),
|
||||
all_start = new Date(), cur_start, test_count = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user