You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the node set returned from Nokogiri::XML::Node#element_children is empty, querying it with .css raises an exception in JRuby. For MRI this works as expected by returning an empty node set.
Describe the bug
If the node set returned from
Nokogiri::XML::Node#element_children
is empty, querying it with.css
raises an exception in JRuby. For MRI this works as expected by returning an empty node set.To Reproduce
MRI 👍
JRuby 👎
Expected behavior
I would expect the JRuby variant not to blow up and instead return an empty node set as with MRI.
The text was updated successfully, but these errors were encountered: