Skip to content

Commit c81485c

Browse files
committed
Better fix for test
1 parent 22e2a32 commit c81485c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unittests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ describe('encoding test', function() {
416416

417417
it('should return Array for undefined', function(done) {
418418
scrypt(v.password, v.salt, { logN: v.logN, r: v.r, dkLen: v.dkLen }, function(out) {
419-
assert.ok(Object.prototype.toString.call(out) === "[object Array]");
419+
assert.equal(Object.prototype.toString.call(out), "[object Array]");
420420
done();
421421
});
422422
});

0 commit comments

Comments
 (0)