Skip to content

Commit

Permalink
test: unpend the LIBXML_LOADED_VERSION test on freebsd
Browse files Browse the repository at this point in the history
essentially reverting 97be5d1

Closes #2506
  • Loading branch information
flavorjones committed May 4, 2022
1 parent eac7934 commit b7c4cc3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/test_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@ def test_version_info_for_libxml
major = Regexp.last_match(1).to_i
minor = Regexp.last_match(2).to_i
bug = Regexp.last_match(3).to_i
if RbConfig::CONFIG["target_os"].include?("freebsd13") && Nokogiri::VersionInfo.instance.libxml2_using_system?
pending("https://github.com/sparklemotion/nokogiri/issues/2506") do
assert_equal("#{major}.#{minor}.#{bug}", Nokogiri::VERSION_INFO["libxml"]["loaded"])
end
else
assert_equal("#{major}.#{minor}.#{bug}", Nokogiri::VERSION_INFO["libxml"]["loaded"])
end
assert_equal("#{major}.#{minor}.#{bug}", Nokogiri::VERSION_INFO["libxml"]["loaded"])

assert(version_info["libxml"].key?("iconv_enabled"))
assert(version_info["libxslt"].key?("datetime_enabled"))
Expand Down

0 comments on commit b7c4cc3

Please sign in to comment.