Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/stdlib/CGI_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class CGITest < Test::Unit::TestCase
testing "::CGI"

def setup
super
ARGV.replace(%w(abc=001 def=002))
end

Expand Down
1 change: 1 addition & 0 deletions test/stdlib/Forwardable_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class SingleForwardableTest < Test::Unit::TestCase
testing "::SingleForwardable"

def setup
super
@tested = Object.new
@tested.extend SingleForwardable
end
Expand Down
3 changes: 2 additions & 1 deletion test/stdlib/Minitest_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ class MinitestTestLifecycleHooksTest < Test::Unit::TestCase

class LifecycleSetup < Minitest::Test
def setup
super
@foo = 123
end
end
end

def test_setup_return_type_void
test = LifecycleSetup.new("setup")
Expand Down
1 change: 1 addition & 0 deletions test/stdlib/uri/rfc2396_parser_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class URIRFC2396_ParserInstanceTest < Test::Unit::TestCase
testing "::URI::RFC2396_Parser"

def setup
super
@instance = URI::RFC2396_Parser.new
end

Expand Down