Skip to content

Commit 8e27254

Browse files
Jonathan DarlingFishrock123
Jonathan Darling
authored andcommitted
test: convert assert.equal to assert.strictEqual
converts an instance of assert.equal in a file already mostly updated to use assert.strictEqual PR-URL: #9925 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 328cd93 commit 8e27254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-slow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ try {
3535
assert.strictEqual(
3636
SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength);
3737
} catch (e) {
38-
assert.equal(e.message, 'Array buffer allocation failed');
38+
assert.strictEqual(e.message, 'Array buffer allocation failed');
3939
}
4040

4141
// should work with number-coercible values

0 commit comments

Comments
 (0)