[前][次][番号順一覧][スレッド一覧]

ruby-changes:55459

From: nobu <ko1@a...>
Date: Sun, 21 Apr 2019 15:08:05 +0900 (JST)
Subject: [ruby-changes:55459] nobu:r67680 (trunk): Remove unused variable and check if successed

nobu	2019-04-21 15:08:00 +0900 (Sun, 21 Apr 2019)

  New Revision: 67680

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67680

  Log:
    Remove unused variable and check if successed

  Modified files:
    trunk/test/irb/test_raise_no_backtrace_exception.rb
Index: test/irb/test_raise_no_backtrace_exception.rb
===================================================================
--- test/irb/test_raise_no_backtrace_exception.rb	(revision 67679)
+++ test/irb/test_raise_no_backtrace_exception.rb	(revision 67680)
@@ -4,7 +4,7 @@ require 'test/unit' https://github.com/ruby/ruby/blob/trunk/test/irb/test_raise_no_backtrace_exception.rb#L4
 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/, [], success: true)
       e = Exception.new("foo")
       def e.backtrace; nil; end
       raise e

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]