Skip to content

Commit

Permalink
Clamp failing Ruby 1.8 example
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Mar 15, 2021
1 parent eee9511 commit 6420630
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 = 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 6420630

Please sign in to comment.