diff --git a/test/objectwrap.js b/test/objectwrap.js index 1f888234d..aa6d8d3cb 100644 --- a/test/objectwrap.js +++ b/test/objectwrap.js @@ -73,12 +73,11 @@ const test = (binding) => { keys.push(key); } - assert.deepEqual(keys, [ - 'testGetSet', - 'testGetter', - 'testValue', - 'testMethod' - ]); + assert(keys.length = 4); + assert(obj.testGetSet); + assert(obj.testGetter); + assert(obj.testValue); + assert(obj.testMethod); } };