mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
33fc365f82
commit
cd86892669
1 changed files with 2 additions and 2 deletions
|
@ -1709,8 +1709,8 @@ class TestArray < Test::Unit::TestCase
|
|||
[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[])
|
||||
|
||||
|
|
Loading…
Reference in a new issue