summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_array.rb5
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)