Skip to content

Commit 6ed0e8b

Browse files
Jonathan Darlingjasnell
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 <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 6eee34a commit 6ed0e8b

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)