Skip to content

Commit 22e2a32

Browse files
committed
Replace Array.isArray in test for old IE
1 parent 5477fe4 commit 22e2a32

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(Array.isArray(out));
419+
assert.ok(Object.prototype.toString.call(out) === "[object Array]");
420420
done();
421421
});
422422
});

0 commit comments

Comments
 (0)