ruby-changes:22824
From: nahi <ko1@a...>
Date: Fri, 2 Mar 2012 17:16:25 +0900 (JST)
Subject: [ruby-changes:22824] nahi:r34873 (trunk): * test/ruby/test_array.rb (test_combination2): Make the test case for
nahi 2012-03-02 17:16:14 +0900 (Fri, 02 Mar 2012) New Revision: 34873 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34873 Log: * test/ruby/test_array.rb (test_combination2): Make the test case for [ruby-core:29240] more descriptive. cf. http://bugs.jruby.org/6518 Modified files: trunk/ChangeLog trunk/test/ruby/test_array.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 34872) +++ ChangeLog (revision 34873) @@ -1,3 +1,9 @@ +Fri Mar 2 17:13:33 2012 Hiroshi Nakamura <nahi@r...> + + * 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@r...> * file.c (file_expand_path): use wcscasecmp(). Index: test/ruby/test_array.rb =================================================================== --- test/ruby/test_array.rb (revision 34872) +++ test/ruby/test_array.rb (revision 34873) @@ -2060,9 +2060,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/