Browse Source

Add a bit more data to test case

pull/542/head
Lee Boynton 10 years ago committed by jaymeans
parent
commit
d2cb24be71
  1. 6
      tests/test-cases.js

6
tests/test-cases.js

@ -1210,11 +1210,11 @@ var PARSE_TESTS = [ @@ -1210,11 +1210,11 @@ var PARSE_TESTS = [
}
},
{
description: "Mixture of newlines",
input: '"a\r\na","b"\n"c","d"\n\n',
description: "Carriage return in header inside quotes, with line feed endings",
input: '"a\r\na","b"\n"c","d"\n"e","f"\n,"g","h"\n"i","j"\n',
config: { skipEmptyLines: true },
expected: {
data: [['a\r\na', 'b'], ['c', 'd']],
data: [['a\r\na', 'b'], ['c', 'd'], ['e', 'f'], ['g', 'h']['i', 'j']],
errors: []
}
}

Loading…
Cancel
Save