|
|
@ -323,6 +323,14 @@ var CORE_PARSER_TESTS = [ |
|
|
|
errors: [] |
|
|
|
errors: [] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
description: "Line starts with unquoted empty field", |
|
|
|
|
|
|
|
input: ',b,c\n"d",e,f', |
|
|
|
|
|
|
|
expected: { |
|
|
|
|
|
|
|
data: [['', 'b', 'c'], ['d', 'e', 'f']], |
|
|
|
|
|
|
|
errors: [] |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
description: "Line ends with quoted field", |
|
|
|
description: "Line ends with quoted field", |
|
|
|
input: 'a,b,c\nd,e,f\n"g","h","i"\n"j","k","l"', |
|
|
|
input: 'a,b,c\nd,e,f\n"g","h","i"\n"j","k","l"', |
|
|
|