diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-02 08:16:14 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-02 08:16:14 +0000 |
commit | effb5248a261aa4f197a3fd549f7c71f2e39bca9 (patch) | |
tree | e620db7a39ddb299c7755c442daefc82cc53fc9e /test/ruby/test_array.rb | |
parent | 8d07e0870f575e970d922c76423f8f8d4e988aa8 (diff) | |
download | ruby-effb5248a261aa4f197a3fd549f7c71f2e39bca9.tar.gz |
* test/ruby/test_array.rb (test_combination2): Make the test case for
[ruby-core:29240] more descriptive.
cf. http://bugs.jruby.org/6518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
-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 |