Skip to content

Commit

Permalink
Remove no longer necessary TruffleRuby test exclusions. (#527)
Browse files Browse the repository at this point in the history
Co-authored-by: Stan Lo <stan.lo@shopify.com>
  • Loading branch information
nirvdrum and st0012 authored Mar 3, 2023
1 parent 35697f3 commit 8473d0b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/irb/test_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def test_output_to_pipe
}.each do |scenario, cases|
cases.each do |inspect_mode, input, expected|
define_method "test_#{inspect_mode}_inspect_mode_#{scenario}" do
pend if RUBY_ENGINE == 'truffleruby'
verbose, $VERBOSE = $VERBOSE, nil
irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), TestInputMethod.new([input]))
irb.context.inspect_mode = inspect_mode
Expand All @@ -152,7 +151,6 @@ def test_output_to_pipe
end

def test_object_inspection_falls_back_to_kernel_inspect_when_errored
omit if RUBY_ENGINE == "truffleruby"
verbose, $VERBOSE = $VERBOSE, nil
main = Object.new
main.singleton_class.module_eval <<~RUBY
Expand All @@ -175,7 +173,7 @@ def inspect
end

def test_object_inspection_prints_useful_info_when_kernel_inspect_also_errored
omit if RUBY_VERSION < '2.7' || RUBY_ENGINE == "truffleruby"
omit if RUBY_VERSION < '2.7'
verbose, $VERBOSE = $VERBOSE, nil
main = Object.new
main.singleton_class.module_eval <<~RUBY
Expand Down

0 comments on commit 8473d0b

Please sign in to comment.