mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix setup method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3e9af6da10
commit
24197c48d2
1 changed files with 1 additions and 4 deletions
|
@ -4,6 +4,7 @@ class TestArray < Test::Unit::TestCase
|
||||||
def setup
|
def setup
|
||||||
@verbose = $VERBOSE
|
@verbose = $VERBOSE
|
||||||
$VERBOSE = nil
|
$VERBOSE = nil
|
||||||
|
@cls = Array
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
|
@ -185,10 +186,6 @@ class TestArray < Test::Unit::TestCase
|
||||||
|
|
||||||
# From rubicon
|
# From rubicon
|
||||||
|
|
||||||
def setup
|
|
||||||
@cls = Array
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_00_new
|
def test_00_new
|
||||||
a = @cls.new()
|
a = @cls.new()
|
||||||
assert_instance_of(@cls, a)
|
assert_instance_of(@cls, a)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue