ruby-changes:4592
From: ko1@a...
Date: Sun, 20 Apr 2008 04:09:28 +0900 (JST)
Subject: [ruby-changes:4592] akr - Ruby:r16086 (trunk): fix setup method.
akr 2008-04-20 04:09:22 +0900 (Sun, 20 Apr 2008)
New Revision: 16086
Modified files:
trunk/test/ruby/test_array.rb
Log:
fix setup method.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_array.rb?r1=16086&r2=16085&diff_format=u
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb (revision 16085)
+++ test/ruby/test_array.rb (revision 16086)
@@ -4,6 +4,7 @@
def setup
@verbose = $VERBOSE
$VERBOSE = nil
+ @cls = Array
end
def teardown
@@ -185,10 +186,6 @@
# From rubicon
- def setup
- @cls = Array
- end
-
def test_00_new
a = @cls.new()
assert_instance_of(@cls, a)
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/