This commit is contained in:
Barış Soner Uşaklı
2015-03-06 15:21:00 -05:00
parent ea9fccbf2a
commit 00be1e07e3

View File

@@ -172,7 +172,9 @@ 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);