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

Commit

Permalink
docs: rewrite trim sample
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Apr 3, 2021
1 parent 98c006b commit 0e94b34
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions samples/option.trim.js
Expand Up @@ -2,11 +2,7 @@
const parse = require('../lib/sync')
const assert = require('assert')

const records = parse(`
a ,1
b, 2
c,3
`.trim(), {
const records = parse('a ,1\nb, 2\n c,3', {
trim: true
})
assert.deepStrictEqual(
Expand Down

0 comments on commit 0e94b34

Please sign in to comment.