Project

General

Profile

« Previous | Next » 

Revision 89230e7c

Added by nobu (Nobuyoshi Nakada) over 7 years ago

test_array.rb: do not assume stable sort

  • test/ruby/test_array.rb (test_sort_bang_with_freeze): make a
    clone to copy a <=> singleton method, instead of dup. which
    element will be called is not predictable.
    [ruby-core:76088] [Bug #12509]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e