From 148014f99a8a764b795233299cf0e6f4478c15ac Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Wed, 16 Mar 2016 12:42:23 -0700 Subject: [PATCH] Fix spec failure --- spec/api-native-image-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/api-native-image-spec.js b/spec/api-native-image-spec.js index fd13ad76db30..a7ee8be007ed 100644 --- a/spec/api-native-image-spec.js +++ b/spec/api-native-image-spec.js @@ -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), false), true); }); }); });