From 8e13e705f9053ae2162ce51168e17e715a8ebcdd Mon Sep 17 00:00:00 2001 From: Kevin Menard Date: Fri, 3 Mar 2023 10:25:25 -0500 Subject: [PATCH] [ruby/irb] Remove no longer necessary TruffleRuby test exclusions. (https://github.com/ruby/irb/pull/527) https://github.com/ruby/irb/commit/8473d0bc0f Co-authored-by: Stan Lo --- test/irb/test_context.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index e430a54f4a..67d272601b 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -136,7 +136,6 @@ module TestIRB }.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 @@ -152,7 +151,6 @@ module TestIRB 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 @@ -175,7 +173,7 @@ module TestIRB 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