-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add test for iconv_mime_encode() for preference input-charset and output-charset #8766
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
@kocsismate, had it been considered to throw Lines 1996 to 1998 in bbc0c4c
Might have been a good idea, if we also would have exposed ICONV_CSNMAXLEN ; users could then check the length upfront, if they're even handling user input.
|
While working on the test I thought exactly that, ... that would be good to expose such a constant to user context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all changes done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmb69 the change still looks with the "Changes requested" label ... can you take a look? I think is because of your review. I also dont know if that is important or not to consider my change to be merge.
Thanks in advance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
The test is for enhancing the code coverage on function
iconv_mime_encode()
.At the moment coverage looks like:
After the test looks like:
This is the first time ever I do this, and hopefully I am following the process correctly.
Thanks in advance.