Skip to content

Commit

Permalink
test: convert assert.equal to assert.strictEqual
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Darling authored and MylesBorins committed Dec 20, 2016
1 parent bbebebe commit 6dbff7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-slow.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ try {
assert.strictEqual(
SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength);
} catch (e) {
assert.equal(e.message, 'Array buffer allocation failed');
assert.strictEqual(e.message, 'Array buffer allocation failed');
}

// should work with number-coercible values
Expand Down

0 comments on commit 6dbff7a

Please sign in to comment.