Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
test: remove redundant error messages
Browse files Browse the repository at this point in the history
Remove redundant error messages for assert.strictEqual()

PR-URL: nodejs/node#16043
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Christina Chan authored and addaleax committed Oct 15, 2017
1 parent 68d1e0e commit 89ebfc0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/addons-napi/test_typedarray/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

0 comments on commit 89ebfc0

Please sign in to comment.