There was an error while loading. Please reload this page.
1 parent 04ffa35 commit b517a25Copy full SHA for b517a25
1 file changed
spec/lib/twingly/public_suffix_list_spec.rb
@@ -24,7 +24,7 @@
24
let(:encoding) { Encoding::US_ASCII }
25
# https://github.com/ruby/ruby/commit/571d21fd4a2e877f49b4ff918832bda9a5e8f91c
26
let(:expected_error) do
27
- if RUBY_VERSION >= "3.2.0"
+ if RUBY_VERSION >= "3.2.0" && RUBY_ENGINE != "jruby"
28
Encoding::CompatibilityError
29
else
30
ArgumentError
0 commit comments