Browse Source

adding test for lines with no content

pull/544/head
jaymeans 7 years ago committed by jaymeans
parent
commit
a60cec090b
  1. 10
      tests/test-cases.js

10
tests/test-cases.js

@ -1338,6 +1338,16 @@ var PARSE_TESTS = [ @@ -1338,6 +1338,16 @@ var PARSE_TESTS = [
truncated: false
}
}
},
{
description: "Parsing with skipNoContentLines",
notes: "Must parse correctly without lines with no content",
input: 'a,b\n\n,\nc,d\n , \n""," "\n " " , " "\n,,,,\n",,,",","\n',
config: { skipEmptyLines: true, skipNoContentLines: true },
expected: {
data: [['a', 'b'], ['c', 'd']],
errors: []
}
}
];

Loading…
Cancel
Save