diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_array.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 28d3e4156b..16875894ef 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -2060,9 +2060,7 @@ class TestArray < Test::Unit::TestCase end def test_combination2 - assert_nothing_raised do - (0..100).to_a.combination(50) { break } - end + assert_equal(:called, (0..100).to_a.combination(50) { break :called }, "[ruby-core:29240] ... must be yielded even if 100C50 > signed integer") end def test_product2 |
