|
|
|
@ -507,6 +507,14 @@ var PARSE_TESTS = [
@@ -507,6 +507,14 @@ var PARSE_TESTS = [
|
|
|
|
|
errors: [] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
description: "Mixed slash n and slash r should choose first as precident", |
|
|
|
|
input: 'a,b,c\nd,e,f\rg,h,i\n', |
|
|
|
|
expected: { |
|
|
|
|
data: [['a', 'b', 'c'], ['d', 'e', 'f\rg', 'h', 'i'], ['']], |
|
|
|
|
errors: [] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
description: "Header row with one row of data", |
|
|
|
|
input: 'A,B,C\r\na,b,c', |
|
|
|
|