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

Commit 695cd3a

Browse files
committed
adjust ripper spec for JRuby 9.1.x.x
1 parent 6f8cd93 commit 695cd3a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spec/rspec/support/ruby_features_spec.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,17 @@ module Support
141141
end
142142
end
143143

144-
context '9.x.x.x', :if => JRUBY_VERSION.start_with?('9.') do
144+
context '9.0.x.x', :if => JRUBY_VERSION.start_with?('9.0') do
145145
it 'reports wrong line number' do
146146
expect(line_number).to eq(2)
147147
end
148148
end
149+
150+
context '9.1.x.x', :if => JRUBY_VERSION.start_with?('9.1') do
151+
it 'is supported' do
152+
expect(line_number).to eq(1)
153+
end
154+
end
149155
end
150156
end
151157
end

0 commit comments

Comments
 (0)