File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,13 @@ def test_version_info_for_libxml
60
60
major = Regexp . last_match ( 1 ) . to_i
61
61
minor = Regexp . last_match ( 2 ) . to_i
62
62
bug = Regexp . last_match ( 3 ) . to_i
63
- assert_equal ( "#{ major } .#{ minor } .#{ bug } " , Nokogiri ::VERSION_INFO [ "libxml" ] [ "loaded" ] )
63
+ if RbConfig ::CONFIG [ "target_os" ] . include? ( "freebsd13" ) && Nokogiri ::VersionInfo . instance . libxml2_using_system?
64
+ pending ( "https://github.com/sparklemotion/nokogiri/issues/2506" ) do
65
+ assert_equal ( "#{ major } .#{ minor } .#{ bug } " , Nokogiri ::VERSION_INFO [ "libxml" ] [ "loaded" ] )
66
+ end
67
+ else
68
+ assert_equal ( "#{ major } .#{ minor } .#{ bug } " , Nokogiri ::VERSION_INFO [ "libxml" ] [ "loaded" ] )
69
+ end
64
70
65
71
assert ( version_info [ "libxml" ] . key? ( "iconv_enabled" ) )
66
72
assert ( version_info [ "libxslt" ] . key? ( "datetime_enabled" ) )
You can’t perform that action at this time.
0 commit comments