diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-19 19:09:22 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-19 19:09:22 +0000 |
commit | 24197c48d27625233b4141fa99aa67191eeeb2bc (patch) | |
tree | 2e9ba9f64adb6aed108a437db678a3aaeb12561f | |
parent | 3e9af6da10f0a48b536cfb6c19b422e3d382f37b (diff) | |
download | ruby-24197c48d27625233b4141fa99aa67191eeeb2bc.tar.gz |
fix setup method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_array.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 1fa5a293ec..ee66ce0e5f 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -4,6 +4,7 @@ class TestArray < Test::Unit::TestCase def setup @verbose = $VERBOSE $VERBOSE = nil + @cls = Array end def teardown @@ -185,10 +186,6 @@ class TestArray < Test::Unit::TestCase # From rubicon - def setup - @cls = Array - end - def test_00_new a = @cls.new() assert_instance_of(@cls, a) |