|
|
|
@ -1075,6 +1075,16 @@ var PARSE_TESTS = [
@@ -1075,6 +1075,16 @@ var PARSE_TESTS = [
|
|
|
|
|
errors: [] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
description: "skipEmptyFieldsLines leaves empty lines alone", |
|
|
|
|
notes: "", |
|
|
|
|
input: 'a,b\n\nc,d', |
|
|
|
|
config: { skipEmptyFieldsLines: true }, |
|
|
|
|
expected: { |
|
|
|
|
data: [['a', 'b'], [], ['c', 'd']], |
|
|
|
|
errors: [] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
description: "Skipping empty fields lines and empty lines work well with each other", |
|
|
|
|
notes: "", |
|
|
|
|