1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_array.rb: suppress warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-10-16 00:21:49 +00:00
parent 275816b62d
commit c6b1f4ad06

View file

@ -1,6 +1,13 @@
require 'test/unit'
class TestArray < Test::Unit::TestCase
def setup
@verbose, $VERBOSE = $VERBOSE, nil
end
def teardown
$VERBOSE = @verbose
end
def test_0_literal
assert_equal([1, 2, 3, 4], [1, 2] + [3, 4])
assert_equal([1, 2, 1, 2], [1, 2] * 2)