From 9348643575d7a744f3e404d9069a0d29f97960a0 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 27 Apr 2019 22:01:10 +0900 Subject: 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. --- test/irb/test_raise_no_backtrace_exception.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/irb/test_raise_no_backtrace_exception.rb') 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 -- cgit v1.2.3