From d2cb24be711c5c58ab0cf0842eec86c02d180527 Mon Sep 17 00:00:00 2001 From: Lee Boynton Date: Wed, 16 Sep 2015 10:50:03 +0100 Subject: [PATCH] Add a bit more data to test case --- tests/test-cases.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-cases.js b/tests/test-cases.js index 6aebd54..8c54cda 100644 --- a/tests/test-cases.js +++ b/tests/test-cases.js @@ -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: [] } }