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

Commit 8303659

Browse files
authored
Merge pull request #2455 from rspec/suppress-failing-examples-on-jruby-9000
Mark failing examples on JRuby 9000 as pending
2 parents 7db0557 + c595e09 commit 8303659

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/rspec/core/formatters/exception_presenter_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ def read_failed_lines
436436

437437
context 'and the line count does not exceed RSpec.configuration.max_displayed_failure_line_count' do
438438
it 'returns all the lines' do
439+
pending 'https://github.com/jruby/jruby/issues/4737' if RSpec::Support::Ruby.jruby_9000?
439440
expect(read_failed_lines).to eq([
440441
" expect('RSpec').to be_a(String).",
441442
" and start_with('R').",
@@ -450,6 +451,7 @@ def read_failed_lines
450451
end
451452

452453
it 'returns the lines without exceeding the max count' do
454+
pending 'https://github.com/jruby/jruby/issues/4737' if RSpec::Support::Ruby.jruby_9000?
453455
expect(read_failed_lines).to eq([
454456
" expect('RSpec').to be_a(String).",
455457
" and start_with('R')."

0 commit comments

Comments
 (0)