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 | c19c6063bc37dcff113f35dbb422ae61f162d03b (patch) | |
tree | 2e9ba9f64adb6aed108a437db678a3aaeb12561f /test/ruby/test_array.rb | |
parent | e3347ed429ac310efbae5a8e552e4a0c9d4358b7 (diff) | |
download | ruby-c19c6063bc37dcff113f35dbb422ae61f162d03b.tar.gz ruby-c19c6063bc37dcff113f35dbb422ae61f162d03b.tar.xz ruby-c19c6063bc37dcff113f35dbb422ae61f162d03b.zip |
fix setup method.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
-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 1fa5a293e..ee66ce0e5 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) |