Daniel1of1 / CSwiftV

A csv parser written in swift conforming to rfc4180
BSD 3-Clause "New" or "Revised" License
171 stars 46 forks source link

Fix empty column, was shifting the column values #8

Closed regis-leray closed 8 years ago

regis-leray commented 8 years ago

Currently every line or cell with empty value are skipped. But im my case that what causing an issue !

id,timestamp,battery 
297699, ,95
297700,1448387879000,95

when i was accessing the value timestamp was having the value of 95, when it should be empty

regis-leray commented 8 years ago

All the unit test were disable , i fix them and i add one for my specific case !

Daniel1of1 commented 8 years ago

Amazing! Thanks again 🙇. Great test. Merging 👍