-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some unit tests #35
Conversation
Thanks for this Martin. It is greatly appreciated. What do you think should happen to 'invalid' lines? At the moment it will parse as [hello,world], single column, no double quote... and this one: AAARRRRGGG |
My thinking is: leave the parsing of the line as is BUT have the DataSet parser detect if we have an ODD number of Qualifiers (e.g. " or | or whatever). It is the number is odd -> Do not parse the line and raise an error, the line is malformed. What do you think? |
If i use a library like flatpack i would be happy that this decision is left to the user of the library. So I would make it a setting. Something like failOnError setting and skipLineOnErrror. failOnError=true: Stop processing and raise an exception Just an idea, it gives the user some flexibility. And every use case is different. Some examples:
The big question is, what should be the best effort result? CSV lint i was talking about is here: |
Just thinking, should we create an seperate unit test for checking RFC compatibility? |
… On 18 June 2018 at 18:07, Martin Diphoorn ***@***.***> wrote:
Just thinking, should we create an seperate unit test for checking RFC
compatibility?
https://www.ietf.org/rfc/rfc4180.txt
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPeaV6hfzmllE548Aw0FQxGVKEJ8VjRks5t995HgaJpZM4UrT2m>
.
|
Issue #35 add tests for invalid line.
Hi Martin |
Hi Benout, i never used TRAVIS CI. I have experience with Gitlab CI. Martin |
No description provided.