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 = [
} }
}, },
{ {
description: "Mixture of newlines", description: "Carriage return in header inside quotes, with line feed endings",
input: '"a\r\na","b"\n"c","d"\n\n', input: '"a\r\na","b"\n"c","d"\n"e","f"\n,"g","h"\n"i","j"\n',
config: { skipEmptyLines: true }, config: { skipEmptyLines: true },
expected: { expected: {
data: [['a\r\na', 'b'], ['c', 'd']], data: [['a\r\na', 'b'], ['c', 'd'], ['e', 'f'], ['g', 'h']['i', 'j']],
errors: [] errors: []
} }
} }

Loading…
Cancel
Save