From 80dbba8647544d5efcd48e126f59bb9df390f919 Mon Sep 17 00:00:00 2001 From: David Worms Date: Sat, 27 Oct 2018 21:09:17 +0100 Subject: [PATCH] quote: test simplification --- test/options.quote.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/options.quote.coffee b/test/options.quote.coffee index 81f33a9..1a9f428 100644 --- a/test/options.quote.coffee +++ b/test/options.quote.coffee @@ -6,13 +6,13 @@ describe 'options quote', -> it 'with default', (next) -> parse """ - 20322051544,"1979.0",8.8017226E7,"ABC,45",45,"2000-01-01" - 28392898392,1974.0,"8.8392926E7",DEF,23,2050-11-27 + abc,"123",def,"456" + hij,klm,"789",nop """, (err, data) -> return next err if err data.should.eql [ - [ '20322051544','1979.0','8.8017226E7','ABC,45','45','2000-01-01' ] - [ '28392898392','1974.0','8.8392926E7','DEF','23','2050-11-27' ] + [ 'abc','123','def','456' ] + [ 'hij','klm','789','nop' ] ] next()