Skip to content

Node.js based forum software built for the modern web

fix list tests

barisusakli15d2f54cd059
diff --git a/tests/database/list.js b/tests/database/list.js
index 84f1d586da..986a1fc1bb 100644
--- a/tests/database/list.js
+++ b/tests/database/list.js
@@ -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();
});