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

Commit 40b566b

Browse files
committed
Clamp failing JRuby/Ruby 1.8 example
1 parent eee9511 commit 40b566b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/core/formatters/snippet_extractor_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def another_expression(*)
161161
end
162162
end
163163

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

0 commit comments

Comments
 (0)