Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

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: nodejs/node#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 e8c57bb commit 1436fd7
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 @@ -30,7 +30,7 @@ assert.strictEqual(SlowBuffer(0).length, 0);
try {
assert.strictEqual(SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength);
} catch (e) {
assert.equal(e.message, 'Invalid array buffer length');
assert.strictEqual(e.message, 'Invalid array buffer length');
}

// should work with number-coercible values
Expand Down

0 comments on commit 1436fd7

Please sign in to comment.