fix lex tests maybe

This commit is contained in:
yariplus
2016-10-17 16:35:33 -04:00
parent 472dd007d8
commit af2122bdb9
3 changed files with 6 additions and 4 deletions

View File

@@ -302,7 +302,9 @@ module.exports = function (redisClient, module) {
module.sortedSetRemoveRangeByLex = function (key, min, max, callback) {
callback = callback || helpers.noop;
sortedSetLex('zremrangebylex', false, key, min, max, callback);
sortedSetLex('zremrangebylex', false, key, min, max, function (err) {
callback(err);
});
};
module.sortedSetLexCount = function (key, min, max, callback) {