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

check type passed to Document#root= #2210

Merged
merged 2 commits into from Mar 23, 2021

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

#1900

Have you included adequate test coverage?

Yes!

Does this change affect the behavior of either the C or the Java implementations?

The CRuby implementation now raises an ArgumentError where it previously segfaulted. The JRuby implementation now raises an ArgumentError instead of a TypeError.

@flavorjones flavorjones added the topic/memory Segfaults, memory leaks, valgrind testing, etc. label Mar 22, 2021
@flavorjones flavorjones added this to the v1.11.x patch releases milestone Mar 22, 2021
@flavorjones flavorjones changed the title check type passed to Document#root= check type passed to Document#root= Mar 22, 2021
@codeclimate
Copy link

codeclimate bot commented Mar 22, 2021

Code Climate has analyzed commit 4031110 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 94.0% (0.0% change).

View more on Code Climate.

@flavorjones flavorjones merged commit f9bbe13 into main Mar 23, 2021
@flavorjones flavorjones deleted the 1900-check-type-passed-to-document-root-equals branch March 23, 2021 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/memory Segfaults, memory leaks, valgrind testing, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant