Skip to content

Commit 3594223

Browse files
Christina Chanjoyeecheung
Christina Chan
authored andcommitted
test: remove redundant error messages
Remove redundant error messages for assert.strictEqual() PR-URL: #16043 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 5ea88b7 commit 3594223

File tree

1 file changed

+2
-6
lines changed
  • test/addons-napi/test_typedarray

1 file changed

+2
-6
lines changed

test/addons-napi/test_typedarray/test.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ arrayTypes.forEach((currentType) => {
5050

5151
assert.ok(theArray instanceof currentType,
5252
'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');
53+
assert.notStrictEqual(theArray, template);
54+
assert.strictEqual(theArray.buffer, buffer);
5955
});

0 commit comments

Comments
 (0)