8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 011b53e commit ebbd07dCopy full SHA for ebbd07d
test/addons-napi/test_typedarray/test.js
@@ -50,10 +50,6 @@ arrayTypes.forEach((currentType) => {
50
51
assert.ok(theArray instanceof currentType,
52
'Type of new array should match that of the template');
53
- assert.notStrictEqual(theArray,
54
- template,
55
- 'the new array should not be a copy of the template');
56
- assert.strictEqual(theArray.buffer,
57
- buffer,
58
- 'Buffer for array should match the one passed in');
+ assert.notStrictEqual(theArray, template);
+ assert.strictEqual(theArray.buffer, buffer);
59
});