aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-nokogiri/skip-tests-broken-on-musl.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-06-17 14:28:13 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-06-17 14:23:18 +0200
commitf49ce14f0bbc45d0913d83b7015e13f880146f92 (patch)
treee355cec03155f0c2092644afc6058e05286495bb /community/ruby-nokogiri/skip-tests-broken-on-musl.patch
parent824bb08c5d3e74eb9d15b2585db76b6ad6d157f1 (diff)
downloadaports-f49ce14f0bbc45d0913d83b7015e13f880146f92.tar.bz2
aports-f49ce14f0bbc45d0913d83b7015e13f880146f92.tar.xz
community/ruby-nokogiri: fix tests and enable check
Diffstat (limited to 'community/ruby-nokogiri/skip-tests-broken-on-musl.patch')
-rw-r--r--community/ruby-nokogiri/skip-tests-broken-on-musl.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/ruby-nokogiri/skip-tests-broken-on-musl.patch b/community/ruby-nokogiri/skip-tests-broken-on-musl.patch
new file mode 100644
index 0000000000..f07717a98a
--- /dev/null
+++ b/community/ruby-nokogiri/skip-tests-broken-on-musl.patch
@@ -0,0 +1,10 @@
+--- a/test/html/test_document_encoding.rb
++++ b/test/html/test_document_encoding.rb
+@@ -19,6 +19,7 @@
+ end
+
+ def test_encoding_without_charset
++ skip 'Not supported on musl'
+ doc = Nokogiri::HTML File.open(SHIFT_JIS_NO_CHARSET, 'r:cp932:cp932').read
+
+ hello = "こんにちは"