Skip to content

Commit

Permalink
docs: fix sample assertion in encoding buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Oct 25, 2021
1 parent be25349 commit a13c558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/csv-parse/samples/option.encoding.buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const data = Buffer.from(`a,b\n1,2`);
const records = parse(data, {
encoding: null
});
assert.deepStrictEqual(records, [
assert.deepEqual(records, [
[ Buffer.from('a'), Buffer.from('b') ],
[ Buffer.from('1'), Buffer.from('2') ]
]);

0 comments on commit a13c558

Please sign in to comment.