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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Jonathan Darling authored and Fishrock123 committed Dec 6, 2016
1 parent 328cd93 commit 8e27254
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 8e27254

Please sign in to comment.