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

ruby-changes:11410

From: nobu <ko1@a...>
Date: Sun, 22 Mar 2009 20:39:50 +0900 (JST)
Subject: [ruby-changes:11410] Ruby:r23032 (ruby_1_8): * lib/test/unit.rb: use Kernel.exit to get rid of using

nobu	2009-03-22 20:39:40 +0900 (Sun, 22 Mar 2009)

  New Revision: 23032

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

  Log:
    * lib/test/unit.rb: use Kernel.exit to get rid of using
      IRB::ExtendCommandBundle#exit.  a patch from Dmitry Vazhov by
      [ruby-core:22986].

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/lib/test/unit.rb

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 23031)
+++ ruby_1_8/ChangeLog	(revision 23032)
@@ -1,3 +1,9 @@
+Sun Mar 22 20:39:38 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/test/unit.rb: use Kernel.exit to get rid of using
+	  IRB::ExtendCommandBundle#exit.  a patch from Dmitry Vazhov by
+	  [ruby-core:22986].
+
 Fri Mar 20 22:55:00 2009  Akinori MUSHA  <knu@i...>
 
 	* object.c (rb_convert_type, rb_to_integer)
Index: ruby_1_8/lib/test/unit.rb
===================================================================
--- ruby_1_8/lib/test/unit.rb	(revision 23031)
+++ ruby_1_8/lib/test/unit.rb	(revision 23032)
@@ -275,6 +275,6 @@
 
 at_exit do
   unless $! || Test::Unit.run?
-    exit Test::Unit::AutoRunner.run
+    Kernel.exit Test::Unit::AutoRunner.run
   end
 end

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

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