Skip to content

Commit e2791de

Browse files
Jonathan DarlingMylesBorins
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 4dec912 commit e2791de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-slow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ assert.strictEqual(SlowBuffer(0).length, 0);
3030
try {
3131
assert.strictEqual(SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength);
3232
} catch (e) {
33-
assert.equal(e.message, 'Invalid array buffer length');
33+
assert.strictEqual(e.message, 'Invalid array buffer length');
3434
}
3535

3636
// should work with number-coercible values

0 commit comments

Comments
 (0)