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

ruby-changes:34551

From: naruse <ko1@a...>
Date: Tue, 1 Jul 2014 09:40:43 +0900 (JST)
Subject: [ruby-changes:34551] naruse:r46632 (trunk): exception must make process stop

naruse	2014-07-01 09:40:34 +0900 (Tue, 01 Jul 2014)

  New Revision: 46632

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

  Log:
    exception must make process stop

  Modified files:
    trunk/test/lib/test/unit.rb
Index: test/lib/test/unit.rb
===================================================================
--- test/lib/test/unit.rb	(revision 46631)
+++ test/lib/test/unit.rb	(revision 46632)
@@ -555,7 +555,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L555
             r = Marshal.load($1.unpack("m")[0])
           rescue
             print "unknown object: #{$1.unpack("m")[0].dump}"
-            return false
+            return true
           end
           result << r[0..1] unless r[0..1] == [nil,nil]
           rep    << {file: worker.real_file, report: r[2], result: r[3], testcase: r[5]}

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

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