ruby-changes:30017
From: akr <ko1@a...>
Date: Fri, 19 Jul 2013 19:57:59 +0900 (JST)
Subject: [ruby-changes:30017] akr:r42069 (trunk): Suppress warnings.
akr 2013-07-19 19:57:47 +0900 (Fri, 19 Jul 2013) New Revision: 42069 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42069 Log: Suppress warnings. Modified files: trunk/test/ruby/test_array.rb Index: test/ruby/test_array.rb =================================================================== --- test/ruby/test_array.rb (revision 42068) +++ test/ruby/test_array.rb (revision 42069) @@ -1709,8 +1709,8 @@ class TestArray < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_array.rb#L1709 [2,2,2,2],[2,2,2,3],[2,2,3,3],[2,3,3,3],[3,3,3,3]], a.repeated_combination(4).to_a.sort) assert_equal(@cls[], a.repeated_combination(-1).to_a) - assert_equal("abcde".each_char.to_a.repeated_combination(5).map{|a|a.sort}.sort, - "edcba".each_char.to_a.repeated_combination(5).map{|a|a.sort}.sort) + assert_equal("abcde".each_char.to_a.repeated_combination(5).map{|e|e.sort}.sort, + "edcba".each_char.to_a.repeated_combination(5).map{|e|e.sort}.sort) assert_equal(@cls[].repeated_combination(0).to_a, @cls[[]]) assert_equal(@cls[].repeated_combination(1).to_a, @cls[]) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/