mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-23 00:40:23 +01:00
fix range tests
This commit is contained in:
@@ -26,7 +26,7 @@ describe('Sorted Set methods', function() {
|
|||||||
|
|
||||||
describe('sortedSetsAdd()', function() {
|
describe('sortedSetsAdd()', function() {
|
||||||
it('should add an element to two sorted sets', function(done) {
|
it('should add an element to two sorted sets', function(done) {
|
||||||
db.sortedSetsAdd(['sorted1, sorted2'], 3, 'value3', function(err) {
|
db.sortedSetsAdd(['sorted1', 'sorted2'], 3, 'value3', function(err) {
|
||||||
assert.equal(err, null);
|
assert.equal(err, null);
|
||||||
assert.equal(arguments.length, 1);
|
assert.equal(arguments.length, 1);
|
||||||
done();
|
done();
|
||||||
|
|||||||
Reference in New Issue
Block a user