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 | |
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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/test_array.rb | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Fri Mar 2 17:13:33 2012 Hiroshi Nakamura <nahi@ruby-lang.org> + + * test/ruby/test_array.rb (test_combination2): Make the test case for + [ruby-core:29240] more descriptive. + cf. http://bugs.jruby.org/6518 + Fri Mar 2 16:37:11 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * file.c (file_expand_path): use wcscasecmp(). 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 |