Skip to content

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: #16043
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Christina Chan authored and joyeecheung committed Oct 14, 2017
1 parent 5ea88b7 commit 3594223
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 3594223

Please sign in to comment.