aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit/testcase.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/testcase.rb')
-rw-r--r--lib/test/unit/testcase.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/test/unit/testcase.rb b/lib/test/unit/testcase.rb
index 89aa0f34c0..ec3d362c21 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