Skip to content

Commit

Permalink
test: refactor test-buffer-bytelength
Browse files Browse the repository at this point in the history
* assert.equal -> assert.strictEqual.

PR-URL: #9808
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
targos committed Dec 26, 2016
1 parent b5c8b35 commit 3d368d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-bytelength.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ assert.strictEqual(Buffer.byteLength(ascii), 3);

// ArrayBuffer
var buffer = new ArrayBuffer(8);
assert.equal(Buffer.byteLength(buffer), 8);
assert.strictEqual(Buffer.byteLength(buffer), 8);

// TypedArray
var int8 = new Int8Array(8);
Expand Down

0 comments on commit 3d368d0

Please sign in to comment.