Browse Source

Fixed Intendation and spacing on test case

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

52
tests/test-cases.js

@ -225,13 +225,13 @@ var CORE_PARSER_TESTS = [
"row": 0, "row": 0,
"index": 3 "index": 3
}, },
{ {
"type": "Quotes", "type": "Quotes",
"code": "MissingQuotes", "code": "MissingQuotes",
"message": "Quoted field unterminated", "message": "Quoted field unterminated",
"row": 0, "row": 0,
"index": 3 "index": 3
}] }]
} }
}, },
{ {
@ -247,13 +247,13 @@ var CORE_PARSER_TESTS = [
"row": 0, "row": 0,
"index": 3 "index": 3
}, },
{ {
"type": "Quotes", "type": "Quotes",
"code": "MissingQuotes", "code": "MissingQuotes",
"message": "Quoted field unterminated", "message": "Quoted field unterminated",
"row": 0, "row": 0,
"index": 3 "index": 3
}] }]
} }
}, },
{ {
@ -269,13 +269,13 @@ var CORE_PARSER_TESTS = [
"row": 0, "row": 0,
"index": 3 "index": 3
}, },
{ {
"type": "Quotes", "type": "Quotes",
"code": "MissingQuotes", "code": "MissingQuotes",
"message": "Quoted field unterminated", "message": "Quoted field unterminated",
"row": 0, "row": 0,
"index": 3 "index": 3
}] }]
} }
}, },
{ {
@ -1570,11 +1570,11 @@ var UNPARSE_TESTS = [
expected: 'a,b,c\rd,e,f' expected: 'a,b,c\rd,e,f'
}, },
{ {
description:"Pipes with decimal numbers and comma as decimal separator", description: "Pipes with decimal numbers and comma as decimal separator",
input:'a|3,4|b\r\nc|3,4|d', input: 'a|3,4|b\r\nc|3,4|d',
expected:{ expected: {
data:[['a','3,4','b'],['c','3,4','d']], data: [['a','3,4','b'],['c','3,4','d']],
errors:[] errors: []
} }
}, },
{ {

Loading…
Cancel
Save