summaryrefslogtreecommitdiff
path: root/test/irb/test_raise_no_backtrace_exception.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-27 22:01:10 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-27 22:01:11 +0900
commit9348643575d7a744f3e404d9069a0d29f97960a0 (patch)
tree67bf06991e296298aed64d544effddc3e48148ea /test/irb/test_raise_no_backtrace_exception.rb
parent3f9562015e651735bfc2fdd14e8f6963b673e22a (diff)
make sync-default-gems GEM=irb
Synced from https://github.com/ruby/irb/commit/5feb361ed80736efa5b2c2b629837ec2a5fc2cdb. This includes a support to colorize named Class instance on IRB inspect.
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 1d2e05bfac..38c61f2a94 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/, [])
+ assert_in_out_err(%w[-rirb -W0 -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [])
e = Exception.new("foo")
def e.backtrace; nil; end
raise e