Skip to content
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

Add coverage in more places for unicode/*.jl #12767

Merged
merged 6 commits into from Aug 24, 2015

Conversation

ScottPJones
Copy link
Contributor

Added test for uncovered line in utf32.jl
Changed Uint to UInt in types.jl
Removed a duplicate convert method in utf16.jl
Add test to cover converting a long utf8 sequence in utf8.jl
Changed a method in checkstring.jl for better coverage
Added more tests for checkstring.jl, test accept_long_char option

@kshyatt kshyatt added test This change adds or pertains to unit tests domain:unicode Related to unicode characters and encodings labels Aug 23, 2015
@ScottPJones
Copy link
Contributor Author

Tests have passed, could I beg you to merge my coverage improvements @kshyatt?

@KristofferC
Copy link
Sponsor Member

This is not important at all but just a thought. Maybe it is best to avoid commit messages like "Test for last uncovered line in utf32.jl" and "Add tests for complete coverage of checkstring," because it could be argued that these type of messages are talking about things which are "out of scope" for what the PR actually does.

For example, if someone merged some new functions into these files before this is merged then the commit messages would suddenly be false.

@ScottPJones
Copy link
Contributor Author

Reasonable point, I'll take that into account next PR.

@ScottPJones
Copy link
Contributor Author

(or if somebody does change any of these, I'll rebase with a reword)

StefanKarpinski added a commit that referenced this pull request Aug 24, 2015
Add coverage in more places for unicode/*.jl
@StefanKarpinski StefanKarpinski merged commit 8b9d3fe into JuliaLang:master Aug 24, 2015
@ScottPJones ScottPJones deleted the spj/u32test branch August 24, 2015 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:unicode Related to unicode characters and encodings test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants