diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-06 03:05:16 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-06 03:05:16 +0000 |
| commit | d75a3df691b94d34dc781bc3cdf60dc2b3bf34bb (patch) | |
| tree | 87576dee9035869fb08dbd45b292a4bd45ab8f1a | |
| parent | 9522c20f90d9c448e00fde1e0d035421d08c4ba5 (diff) | |
| download | ruby-d75a3df691b94d34dc781bc3cdf60dc2b3bf34bb.tar.gz ruby-d75a3df691b94d34dc781bc3cdf60dc2b3bf34bb.tar.xz ruby-d75a3df691b94d34dc781bc3cdf60dc2b3bf34bb.zip | |
* lib/test/unit/testcase.rb (Test::Unit): removes silly TestCase
class.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/test/unit/testcase.rb | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Aug 6 12:05:06 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/test/unit/testcase.rb (Test::Unit): removes silly TestCase + class. + Thu Aug 6 01:37:20 2009 Akinori MUSHA <knu@iDaemons.org> * ext/digest/sha2/sha2.[ch]: Update to 1.0 RELEASE which fixes an diff --git a/lib/test/unit/testcase.rb b/lib/test/unit/testcase.rb index 89aa0f34c..ec3d362c2 100644 --- a/lib/test/unit/testcase.rb +++ b/lib/test/unit/testcase.rb @@ -2,6 +2,9 @@ require 'test/unit/assertions' module Test module Unit + # remove silly TestCase class + remove_const(:TestCase) if defined?(self::TestCase) + class TestCase < MiniTest::Unit::TestCase include Assertions def self.test_order |
