diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-22 11:39:40 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-22 11:39:40 +0000 |
| commit | cdf2a95881131de264393631e0e6a66ec2ef6b30 (patch) | |
| tree | 2c37fa82f42a6ebda65f71a574eadd61c21df047 | |
| parent | caf54157ec139232d74865890ee5ae7d3ce6dd5f (diff) | |
* lib/test/unit.rb: use Kernel.exit to get rid of using
IRB::ExtendCommandBundle#exit. a patch from Dmitry Vazhov by
[ruby-core:22986].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | lib/test/unit.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sun Mar 22 20:39:38 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@iDaemons.org> * object.c (rb_convert_type, rb_to_integer) diff --git a/lib/test/unit.rb b/lib/test/unit.rb index b71f644566..ca68424b30 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -275,6 +275,6 @@ end at_exit do unless $! || Test::Unit.run? - exit Test::Unit::AutoRunner.run + Kernel.exit Test::Unit::AutoRunner.run end end |
