summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-27 11:42:38 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-27 11:42:40 +0900
commit569c1ef6f17ad12012ba85c443c6806b9d0a9da5 (patch)
tree518d78c826bc976c1a91095b689e541f05ca91e9 /test/irb
parent782e48726082ee130b6ce27f2a21d33257f09d71 (diff)
make sync-default-gems GEM=irb
Backport changes from ruby/irb.
Diffstat (limited to 'test/irb')
-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 9d000d5d4e..1d2e05bfac 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
- status = assert_in_out_err(%w[-rirb -W1 -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [])
+ assert_in_out_err(%w[-rirb -W1 -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [])
e = Exception.new("foo")
def e.backtrace; nil; end
raise e