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