From c19c6063bc37dcff113f35dbb422ae61f162d03b Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 19 Apr 2008 19:09:22 +0000 Subject: fix setup method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_array.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/ruby/test_array.rb') 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) -- cgit