From b7c4cc35de38fcfdde4da1203d79ae38bc4324bf Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 27 Apr 2022 13:29:39 -0400 Subject: [PATCH] test: unpend the LIBXML_LOADED_VERSION test on freebsd essentially reverting 97be5d1 Closes #2506 --- test/test_version.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/test_version.rb b/test/test_version.rb index 74f53d00c0..b1872d88bc 100644 --- a/test/test_version.rb +++ b/test/test_version.rb @@ -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"))