Browse Source

Moved test to Parser Tests

pull/593/head
Erik-HH 6 years ago committed by GitHub
parent
commit
1a0e4825ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      tests/test-cases.js

16
tests/test-cases.js

@ -417,6 +417,14 @@ var CORE_PARSER_TESTS = [ @@ -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 = [ @@ -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']],

Loading…
Cancel
Save