aboutsummaryrefslogtreecommitdiffstats
path: root/test/irb/test_raise_no_backtrace_exception.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:28:54 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:28:57 +0900
commit52cfb17086998b9434c9c786bfcf827197216c9a (patch)
treea94e98569e51a9b4cccc8b6ba481b3f7080061ab /test/irb/test_raise_no_backtrace_exception.rb
parenta6805771ec202a8b8586d6624b05342029cace0d (diff)
downloadruby-52cfb17086998b9434c9c786bfcf827197216c9a.tar.gz
make sync-default-gems GEM=irb
from https://github.com/ruby/irb/commit/e6739d8c66dc78562930adb0b96935c9b38acf74
Diffstat (limited to 'test/irb/test_raise_no_backtrace_exception.rb')
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb
index 72e82bf7f7..d3882a427c 100644
--- a/test/irb/test_raise_no_backtrace_exception.rb
+++ b/test/irb/test_raise_no_backtrace_exception.rb
@@ -4,7 +4,7 @@ require 'test/unit'
module TestIRB
class TestRaiseNoBacktraceException < Test::Unit::TestCase
def test_raise_exception
- assert_in_out_err(%w[-rirb -W1 -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [], success: true)
+ status = assert_in_out_err(%w[-rirb -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [])
e = Exception.new("foo")
def e.backtrace; nil; end
raise e