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. 54
      tests/test-cases.js

54
tests/test-cases.js

@ -225,13 +225,13 @@ var CORE_PARSER_TESTS = [ @@ -225,13 +225,13 @@ var CORE_PARSER_TESTS = [
"row": 0,
"index": 3
},
{
"type": "Quotes",
"code": "MissingQuotes",
"message": "Quoted field unterminated",
"row": 0,
"index": 3
}]
{
"type": "Quotes",
"code": "MissingQuotes",
"message": "Quoted field unterminated",
"row": 0,
"index": 3
}]
}
},
{
@ -247,13 +247,13 @@ var CORE_PARSER_TESTS = [ @@ -247,13 +247,13 @@ var CORE_PARSER_TESTS = [
"row": 0,
"index": 3
},
{
"type": "Quotes",
"code": "MissingQuotes",
"message": "Quoted field unterminated",
"row": 0,
"index": 3
}]
{
"type": "Quotes",
"code": "MissingQuotes",
"message": "Quoted field unterminated",
"row": 0,
"index": 3
}]
}
},
{
@ -269,13 +269,13 @@ var CORE_PARSER_TESTS = [ @@ -269,13 +269,13 @@ var CORE_PARSER_TESTS = [
"row": 0,
"index": 3
},
{
"type": "Quotes",
"code": "MissingQuotes",
"message": "Quoted field unterminated",
"row": 0,
"index": 3
}]
{
"type": "Quotes",
"code": "MissingQuotes",
"message": "Quoted field unterminated",
"row": 0,
"index": 3
}]
}
},
{
@ -1570,11 +1570,11 @@ var UNPARSE_TESTS = [ @@ -1570,11 +1570,11 @@ var UNPARSE_TESTS = [
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: "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: []
}
},
{
@ -2152,4 +2152,4 @@ describe('Custom Tests', function() { @@ -2152,4 +2152,4 @@ describe('Custom Tests', function() {
for (var i = 0; i < CUSTOM_TESTS.length; i++) {
generateTest(CUSTOM_TESTS[i]);
}
});
});

Loading…
Cancel
Save