This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
spec/rspec/core/formatters Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,9 @@ def read_failed_lines
509
509
510
510
context 'and the line count does not exceed RSpec.configuration.max_displayed_failure_line_count' do
511
511
it 'returns all the lines' do
512
- pending 'https://github.com/jruby/jruby/issues/4737' if RSpec ::Support ::Ruby . jruby_9000?
512
+ if RSpec ::Support ::Ruby . jruby_9000? && RSpec ::Support ::Ruby . jruby_version < '9.2.0.0'
513
+ pending 'https://github.com/jruby/jruby/issues/4737'
514
+ end
513
515
expect ( read_failed_lines ) . to eq ( [
514
516
" expect('RSpec').to be_a(String)." ,
515
517
" and start_with('R')." ,
@@ -524,7 +526,9 @@ def read_failed_lines
524
526
end
525
527
526
528
it 'returns the lines without exceeding the max count' do
527
- pending 'https://github.com/jruby/jruby/issues/4737' if RSpec ::Support ::Ruby . jruby_9000?
529
+ if RSpec ::Support ::Ruby . jruby_9000? && RSpec ::Support ::Ruby . jruby_version < '9.2.0.0'
530
+ pending 'https://github.com/jruby/jruby/issues/4737'
531
+ end
528
532
expect ( read_failed_lines ) . to eq ( [
529
533
" expect('RSpec').to be_a(String)." ,
530
534
" and start_with('R')."
You can’t perform that action at this time.
0 commit comments