mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-18 02:20:49 +01:00
fix list tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
'use strict';
|
||||
/*global require, after*/
|
||||
/*global require, after, before*/
|
||||
|
||||
var async = require('async'),
|
||||
assert = require('assert'),
|
||||
@@ -69,7 +69,7 @@ describe('List methods', function() {
|
||||
it('should return a list with one element', function(done) {
|
||||
db.getListRange('testList4', 0, 0, function(err, list) {
|
||||
assert.equal(err, null);
|
||||
assert.equal(Array.isArray(list), true,);
|
||||
assert.equal(Array.isArray(list), true);
|
||||
assert.equal(list[0], 5);
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user