summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2022-10-27 20:54:12 +0200
committergit <svn-admin@ruby-lang.org>2022-10-27 19:16:51 +0000
commit8d7844235cd9ba9836e9eacb74c75d31aaa567b3 (patch)
tree438e3851cf1fdf575379b2fd908a4b3ec101a55f /test
parentc6f439a6a8df582416e756d7511aa4d9c72071a9 (diff)
[ruby/irb] Remove unecesary and harmful pend for TruffleRuby in TestRaiseNoBacktraceException
* Specifically the second one causes `$HOME` to be unset, which breaks `File.expand_path('~')`. https://github.com/ruby/irb/commit/61963305f5
Diffstat (limited to 'test')
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb
index 530adc0cbf..5f11c9f3dc 100644
--- a/test/irb/test_raise_no_backtrace_exception.rb
+++ b/test/irb/test_raise_no_backtrace_exception.rb
@@ -4,7 +4,6 @@ require 'test/unit'
module TestIRB
class TestRaiseNoBacktraceException < Test::Unit::TestCase
def test_raise_exception
- pend if RUBY_ENGINE == 'truffleruby'
bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : []
assert_in_out_err(bundle_exec + %w[-rirb -W0 -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [])
e = Exception.new("foo")
@@ -23,7 +22,6 @@ IRB
end
def test_raise_exception_with_different_encoding_containing_invalid_byte_sequence
- pend if RUBY_ENGINE == 'truffleruby'
backup_home = ENV["HOME"]
Dir.mktmpdir("test_irb_raise_no_backtrace_exception_#{$$}") do |tmpdir|
ENV["HOME"] = tmpdir