Skip to content

Node.js based forum software built for the modern web

fix assert

barisusakli13cd2e41bbcf
diff --git a/tests/database/hash.js b/tests/database/hash.js
index fe1a713cef..18dbc1fbfb 100644
--- a/tests/database/hash.js
+++ b/tests/database/hash.js
@@ -148,7 +148,7 @@ describe('Hash methods', function() {
db.getObjectKeys('doesnotexist', function(err, keys) {
assert.equal(err, null);
assert.equal(arguments.length, 2);
- assert.equal(Array.isArray(keys) && keys.length === 0);
+ assert.equal(Array.isArray(keys) && keys.length === 0, true);
done();
});
});