Skip to content

Commit

Permalink
dep: update libxml2 to 2.10.4 from 2.10.3
Browse files Browse the repository at this point in the history
and update a test which assumed a behavior change was going to go into
2.11.0 but ended up in this release
  • Loading branch information
flavorjones committed Apr 11, 2023
1 parent ac83e6e commit 36b0b33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
libxml2:
version: "2.10.3"
sha256: "5d2cc3d78bec3dbe212a9d7fa629ada25a7da928af432c93060ff5c17ee28a9c"
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.10/libxml2-2.10.3.sha256sum
version: "2.10.4"
sha256: "ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45"
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.10/libxml2-2.10.4.sha256sum

libxslt:
version: "1.1.37"
Expand Down
2 changes: 1 addition & 1 deletion test/xml/test_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ def test_namespace_without_an_href_on_html_node
node = html.at("div").children.first
refute_nil(node)

if Nokogiri.uses_libxml?(">= 2.11.0") || Nokogiri.jruby?
if Nokogiri.uses_libxml?(">= 2.10.4") || Nokogiri.jruby?
assert_empty(node.namespaces.keys)
assert_equal("<o:p>foo</o:p>", node.to_html)
elsif Nokogiri.uses_libxml?(">= 2.9.12")
Expand Down

0 comments on commit 36b0b33

Please sign in to comment.