Skip to content

Commit a483b26

Browse files
authored
Merge pull request #2484 from ruby/supers
2 parents 3f838b3 + 807eafa commit a483b26

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

test/stdlib/CGI_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class CGITest < Test::Unit::TestCase
7272
testing "::CGI"
7373

7474
def setup
75+
super
7576
ARGV.replace(%w(abc=001 def=002))
7677
end
7778

test/stdlib/Forwardable_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class SingleForwardableTest < Test::Unit::TestCase
7171
testing "::SingleForwardable"
7272

7373
def setup
74+
super
7475
@tested = Object.new
7576
@tested.extend SingleForwardable
7677
end

test/stdlib/Minitest_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ class MinitestTestLifecycleHooksTest < Test::Unit::TestCase
5151

5252
class LifecycleSetup < Minitest::Test
5353
def setup
54+
super
5455
@foo = 123
5556
end
56-
end
57+
end
5758

5859
def test_setup_return_type_void
5960
test = LifecycleSetup.new("setup")

test/stdlib/uri/rfc2396_parser_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class URIRFC2396_ParserInstanceTest < Test::Unit::TestCase
2020
testing "::URI::RFC2396_Parser"
2121

2222
def setup
23+
super
2324
@instance = URI::RFC2396_Parser.new
2425
end
2526

0 commit comments

Comments
 (0)