COMMIT A couple of specs for String#to_i. http://github.com/rubyspec/rubyspec/commit/9cefe1f266280fd06687609ee521134d03d28afa =================================================================== +++ 20100612T100136 @@ 12 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 リポジトリのルート: http://svn.ruby-lang.org/repos/ruby リポジトリ UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +リビジョン: 28293 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: svn @@ 18592 @@ - tries to convert the base to an integer using to_int - requires that the sign if any appears before the base specifier - raises an ArgumentError for illegal bases (1, < 0 or > 36) +- returns a Fixnum for long strings with trailing spaces +- returns a Fixnum for long strings with leading spaces /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/string/to_r_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/string/to_s_spec.rb @@ 36133 @@ Finished in seconds +3195 files, 13252 examples, expectations, 69 failures, 72 errors exit 1 failed(rubyspec) == end #