From b6639403fead0250d34d024e66a5481ce357f539 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 25 Dec 2014 02:50:44 -0500 Subject: [PATCH] fix set test --- tests/database/keys.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/database/keys.js b/tests/database/keys.js index 6936009228..c0b4715bd9 100644 --- a/tests/database/keys.js +++ b/tests/database/keys.js @@ -8,8 +8,8 @@ describe('Key methods', function() { it('should set a key without error', function(done) { db.set('testKey', 'testValue', function(err) { - assert(err, null, 'db.set error'); - assert(arguments.length, 1, 'db.set too many parameters returned'); + assert.equal(err, null, 'db.set error'); + assert.equal(arguments.length, 1, 'db.set too many parameters returned'); done(); }); });