summaryrefslogtreecommitdiff
path: root/test/lib/test/unit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 02:15:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 02:15:03 +0000
commitcf0006ea2ba60cf3cc6eb81bfcd40eccecf344af (patch)
tree0cadddcfbf1f28357204239d7b995c24cd829af6 /test/lib/test/unit
parent49243b99441a3b6f402a0c0d9ccba8e11eb24a30 (diff)
testcase.rb: call super
* test/lib/test/unit/testcase.rb (method_added): hook methods should call super. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/test/unit')
-rw-r--r--test/lib/test/unit/testcase.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/test/unit/testcase.rb b/test/lib/test/unit/testcase.rb
index 984f08dd32..d6ea4fd2b1 100644
--- a/test/lib/test/unit/testcase.rb
+++ b/test/lib/test/unit/testcase.rb
@@ -22,6 +22,7 @@ module Test
end
def self.method_added(name)
+ super
return unless name.to_s.start_with?("test_")
@test_methods ||= {}
if @test_methods[name]