From 828fd6b978ac8de9edb0f091b0d0ffc0dabfdc89 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 11 Apr 2014 12:49:53 -0400 Subject: [PATCH] fixed sortedSetRevRangeByScore test --- tests/database.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/database.js b/tests/database.js index eaa8bc667a..cdd5041407 100644 --- a/tests/database.js +++ b/tests/database.js @@ -295,8 +295,7 @@ describe('Test database', function() { } function getSortedSetRevRangeByScore(callback) { - var args = ['sortedSet2', '+inf', 100, 'LIMIT', 0, 10]; - db.getSortedSetRevRangeByScore(args, function(err, data) { + db.getSortedSetRevRangeByScore('sortedSet3', 0, 10, Infinity, 100, function(err, data) { callback(err, {'getSortedSetRevRangeByScore': data}); }); }