Browse Source

Merge 0dc117231e into e11ee26581

pull/746/merge
Damir Khakimov 3 years ago committed by GitHub
parent
commit
7a756e5e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      tests/test-cases.js

21
tests/test-cases.js

@ -534,6 +534,27 @@ var CORE_PARSER_TESTS = [
errors: [] errors: []
} }
}, },
{
description: "Skipped line at beginning",
input: 'Skipped_line\na,b,c',
config: { skipLines: 1 },
expected: {
data: [['a', 'b', 'c']],
errors: []
}
},
{
description: "Skipped line at beginning followed by comment line",
input: 'Skipped_line\n# Comment\na,b,c',
config: {
skipLines: 1,
comments: true
},
expected: {
data: [['a', 'b', 'c']],
errors: []
}
},
{ {
description: "Multiple rows, one column (no delimiter found)", description: "Multiple rows, one column (no delimiter found)",
input: 'a\nb\nc\nd\ne', input: 'a\nb\nc\nd\ne',

Loading…
Cancel
Save