Browse Source

test: remove redundant error messages

Remove redundant error messages for assert.strictEqual()

PR-URL: https://github.com/nodejs/node/pull/16043
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v9.x-staging
Christina Chan 8 years ago
committed by Joyee Cheung
parent
commit
3594223c2e
  1. 8
      test/addons-napi/test_typedarray/test.js

8
test/addons-napi/test_typedarray/test.js

@ -50,10 +50,6 @@ arrayTypes.forEach((currentType) => {
assert.ok(theArray instanceof currentType,
'Type of new array should match that of the template');
assert.notStrictEqual(theArray,
template,
'the new array should not be a copy of the template');
assert.strictEqual(theArray.buffer,
buffer,
'Buffer for array should match the one passed in');
assert.notStrictEqual(theArray, template);
assert.strictEqual(theArray.buffer, buffer);
});

Loading…
Cancel
Save