Skip to content

Commit

Permalink
Clamp failing JRuby/Ruby 1.8 example
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Jul 18, 2021
1 parent 7adf2f0 commit 87e4a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec/core/formatters/snippet_extractor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def another_expression(*)
end
end

argument_error_points_invoker = RSpec::Support::Ruby.jruby? && !RUBY_VERSION.start_with?('1.8.')
argument_error_points_invoker = RSpec::Support::Ruby.jruby? || RUBY_VERSION.start_with?('1.8.')
context 'when the expression is a method definition and ends with "end"-only line', :skip => argument_error_points_invoker do
let(:source) do
obj = Object.new
Expand Down

0 comments on commit 87e4a31

Please sign in to comment.