From: <ki...@us...> - 2014-06-11 14:04:46
|
Revision: 2545 http://sourceforge.net/p/rubycocoa/svn/2545 Author: kimuraw Date: 2014-06-11 14:04:35 +0000 (Wed, 11 Jun 2014) Log Message: ----------- Fix test_assign_nth_error fails on ruby-2.x str[idx] = str allows idx == str.length on ruby-2.0 or later. # ruby-1.8 str = "abc" str[2] = "d" p str => "abd" str[3] = "e" => IndexError # ruby-2.1 str = "abc" str[2] = "d" p str => "abd" str[3] = "e" p str => "abde" str[5] = "f" => IndexError Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |