summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Menard <kevin.menard@shopify.com>2023-03-03 10:25:25 -0500
committergit <svn-admin@ruby-lang.org>2023-03-03 15:25:29 +0000
commit8e13e705f9053ae2162ce51168e17e715a8ebcdd (patch)
tree976dba7c3164c490fa66bdb2b240e21708b8959b /test
parentd78ae78fd76e556e281a743c75bea4c0bb81ed8c (diff)
[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 <stan.lo@shopify.com>
Diffstat (limited to 'test')
-rw-r--r--test/irb/test_context.rb4
1 files changed, 1 insertions, 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