Skip to content

Commit

Permalink
Suppress warnings.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Jul 19, 2013
1 parent 33fc365 commit cd86892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ruby/test_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1709,8 +1709,8 @@ def test_repeated_combination
[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[])

Expand Down

0 comments on commit cd86892

Please sign in to comment.