ruby-changes:13576
From: nobu <ko1@a...>
Date: Fri, 16 Oct 2009 09:25:09 +0900 (JST)
Subject: [ruby-changes:13576] Ruby:r25357 (ruby_1_8): * test/ruby/test_array.rb: suppress warnings.
nobu 2009-10-16 09:21:49 +0900 (Fri, 16 Oct 2009) New Revision: 25357 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25357 Log: * test/ruby/test_array.rb: suppress warnings. Modified files: branches/ruby_1_8/test/ruby/test_array.rb Index: ruby_1_8/test/ruby/test_array.rb =================================================================== --- ruby_1_8/test/ruby/test_array.rb (revision 25356) +++ ruby_1_8/test/ruby/test_array.rb (revision 25357) @@ -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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/