From 1a0e4825ec30e6f71aa5522e45ad63dcbf372ca0 Mon Sep 17 00:00:00 2001 From: Erik-HH Date: Tue, 6 Nov 2018 13:10:48 +0100 Subject: [PATCH] Moved test to Parser Tests --- tests/test-cases.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test-cases.js b/tests/test-cases.js index 1281627..4938dc1 100644 --- a/tests/test-cases.js +++ b/tests/test-cases.js @@ -417,6 +417,14 @@ var CORE_PARSER_TESTS = [ errors: [] } }, + { + description: "Pipes with decimal numbers and comma as decimal separator", + input: 'a|3,4|b\r\nc|3,4|d', + expected: { + data: [['a', '3,4', 'b'], ['c', '3,4', 'd']], + errors: [] + } + }, { description: "Commented line at end", input: 'a,true,false\n# Comment', @@ -1579,14 +1587,6 @@ var UNPARSE_TESTS = [ config: {newline: '\r'}, expected: 'a,b,c\rd,e,f' }, - { - description: "Pipes with decimal numbers and comma as decimal separator", - input: 'a|3,4|b\r\nc|3,4|d', - expected: { - data: [['a', '3,4', 'b'], ['c', '3,4', 'd']], - errors: [] - } - }, { description: "Custom line ending (\\n)", input: [['a', 'b', 'c'], ['d', 'e', 'f']],