@@ -51,7 +51,7 @@ var json2csvTests = function () {
5151 if ( err ) { throw err ; }
5252 true . should . equal ( _ . isEqual ( err , null ) ) ;
5353 csv . should . equal ( csvTestData . unQuoted . nestedQuotes ) ;
54- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
54+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
5555 done ( ) ;
5656 } ) ;
5757 } ) ;
@@ -210,7 +210,7 @@ var json2csvTests = function () {
210210 if ( err ) { throw err ; }
211211 true . should . equal ( _ . isEqual ( err , null ) ) ;
212212 csv . should . equal ( csvTestData . unQuoted . nestedQuotes ) ;
213- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
213+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
214214 done ( ) ;
215215 } , options ) ;
216216 } ) ;
@@ -385,7 +385,7 @@ var json2csvTests = function () {
385385 if ( err ) { throw err ; }
386386 true . should . equal ( _ . isEqual ( err , null ) ) ;
387387 csv . should . equal ( csvTestData . unQuoted . nestedQuotes . replace ( new RegExp ( defaultOptions . DELIMITER . FIELD , 'g' ) , options . DELIMITER . FIELD ) ) ;
388- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
388+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
389389 done ( ) ;
390390 } , options ) ;
391391 } ) ;
@@ -562,7 +562,7 @@ var json2csvTests = function () {
562562 if ( err ) { throw err ; }
563563 true . should . equal ( _ . isEqual ( err , null ) ) ;
564564 csv . should . equal ( csvTestData . quoted . nestedQuotes . replace ( / , / g, options . DELIMITER . FIELD ) ) ;
565- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
565+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
566566 done ( ) ;
567567 } , options ) ;
568568 } ) ;
@@ -882,7 +882,7 @@ var json2csvTests = function () {
882882 converter . json2csvPromisified ( jsonTestData . nestedQuotes )
883883 . then ( function ( csv ) {
884884 csv . should . equal ( csvTestData . unQuoted . nestedQuotes ) ;
885- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
885+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
886886 done ( ) ;
887887 } )
888888 . catch ( function ( err ) {
@@ -1024,7 +1024,7 @@ var json2csvTests = function () {
10241024 converter . json2csvPromisified ( jsonTestData . nestedQuotes , options )
10251025 . then ( function ( csv ) {
10261026 csv . should . equal ( csvTestData . unQuoted . nestedQuotes ) ;
1027- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
1027+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
10281028 done ( ) ;
10291029 } )
10301030 . catch ( function ( err ) {
@@ -1195,7 +1195,7 @@ var json2csvTests = function () {
11951195 converter . json2csvPromisified ( jsonTestData . nestedQuotes , options )
11961196 . then ( function ( csv ) {
11971197 csv . should . equal ( csvTestData . unQuoted . nestedQuotes . replace ( new RegExp ( defaultOptions . DELIMITER . FIELD , 'g' ) , options . DELIMITER . FIELD ) ) ;
1198- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
1198+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
11991199 done ( ) ;
12001200 } )
12011201 . catch ( function ( err ) {
@@ -1368,7 +1368,7 @@ var json2csvTests = function () {
13681368 converter . json2csvPromisified ( jsonTestData . nestedQuotes , options )
13691369 . then ( function ( csv ) {
13701370 csv . should . equal ( csvTestData . quoted . nestedQuotes . replace ( / , / g, options . DELIMITER . FIELD ) ) ;
1371- csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 4 ) ;
1371+ csv . split ( options . DELIMITER . EOL ) . length . should . equal ( 5 ) ;
13721372 done ( ) ;
13731373 } )
13741374 . catch ( function ( err ) {
0 commit comments