Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixup: typo in comment
Co-Authored-By: BridgeAR <ruben@bridgewater.de>
  • Loading branch information
vsemozhetbyt and BridgeAR authored Feb 21, 2019
commit 41cbcd096036073fb5cd367213ba235de7686f7f
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-tostring-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ assert.strictEqual(rangeBuffer.toString('ascii', 0, '-1.99'), '');
assert.strictEqual(rangeBuffer.toString('ascii', 0, 1.99), 'a');
assert.strictEqual(rangeBuffer.toString('ascii', 0, true), 'a');

// Try toString() with a object as a encoding
// Try toString() with an object as an encoding
assert.strictEqual(rangeBuffer.toString({ toString: function() {
return 'ascii';
} }), 'abc');
Expand Down