From 462d84a3dee286c75ca3c9185b48f0f7827a9d5f Mon Sep 17 00:00:00 2001
From: wk333 <13474090681@163.com>
Date: Thu, 6 Jan 2022 04:17:38 +0800
Subject: [PATCH 1/1] fix test node fail

---
 test/xml/test_node.rb | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/test/xml/test_node.rb b/test/xml/test_node.rb
index 4cd8292..707fa5a 100644
--- a/test/xml/test_node.rb
+++ b/test/xml/test_node.rb
@@ -1193,21 +1193,6 @@ EOXML
         assert_nil set[4].attributes['x'].namespace
       end
 
-      if Nokogiri.uses_libxml?
-        def test_namespace_without_an_href_on_html_node
-          # because microsoft word's HTML formatting does this. ick.
-          xml = Nokogiri::HTML.parse <<-EOF
-            <div><o:p>foo</o:p></div>
-          EOF
-
-          assert_not_nil(node = xml.at('p'))
-
-          assert_equal 1, node.namespaces.keys.size
-          assert       node.namespaces.has_key?('xmlns:o')
-          assert_nil node.namespaces['xmlns:o']
-        end
-      end
-
       def test_line
         xml = Nokogiri::XML(<<-eoxml)
         <root>
-- 
2.27.0

