From 00be1e07e369cbe70dace06b2d4852aa3a4f0a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 6 Mar 2015 15:21:00 -0500 Subject: [PATCH] fix test --- tests/database/sorted.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/database/sorted.js b/tests/database/sorted.js index 9e92a4c388..6680ee8716 100644 --- a/tests/database/sorted.js +++ b/tests/database/sorted.js @@ -172,13 +172,15 @@ describe('Sorted Set methods', function() { assert.equal(count, 2); done(); }); + }); + it('should return number of elements between scores -inf +inf inclusive', function(done) { db.sortedSetCount('sortedSetTest1', '-inf', '+inf', function(err, count) { assert.equal(err, null); assert.equal(arguments.length, 2); assert.equal(count, 3); done(); - }); + }); }); });