diff --git a/test/xml/test_node.rb b/test/xml/test_node.rb index 12a5dd05bc..8b98b0b769 100644 --- a/test/xml/test_node.rb +++ b/test/xml/test_node.rb @@ -874,7 +874,7 @@ def test_namespace hello b hello c
hello moon
- + EOF set = xml.search("//y/*") @@ -937,6 +937,15 @@ def test_blank doc = Nokogiri::XML('') assert_equal false, doc.blank? end + + def test_to_xml_allows_to_serialize_with_as_xml_save_option + xml = Nokogiri::XML("") + set = xml.search("//ul") + node = set.first + + assert_no_match("