Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 1a995a2

Browse files
committed
Expand JRuby pending check to exclude 1.7
1 parent 8a94ada commit 1a995a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/support/ruby_features_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def ripper_can_parse_source_referencing_keyword_arguments?
165165
end
166166

167167
it 'returns whether Ripper is correctly implemented in the current environment' do
168-
if RSpec::Support::Ruby.jruby? && RSpec::Support::Ruby.jruby_version < '9.2.1.0'
168+
if RSpec::Support::Ruby.jruby? && RSpec::Support::Ruby.jruby_version.between?('9.0.0.0', '9.2.1.0')
169169
pending "Ripper is not supported on JRuby 9.1.17.0 despite this tests claims"
170170
end
171171
expect(RubyFeatures.ripper_supported?).to eq(ripper_is_implemented? && ripper_works_correctly?)

0 commit comments

Comments
 (0)