Fix failing test

This commit is contained in:
Paul Betts 2016-03-16 12:40:28 -07:00
parent 665d3166ed
commit fa197ad583

View file

@ -45,7 +45,7 @@ describe('nativeImage module', () => {
assert.equal(nsimage.length, 8);
// If all bytes are null, that's Bad
assert.equal(nsimage.reduce((acc,x) => acc || (x != 0)), true);
assert.equal(!!nsimage.reduce((acc,x) => acc || (x != 0)), true);
});
});
});