COMMIT A couple of specs for String#to_i. http://github.com/rubyspec/rubyspec/commit/9cefe1f266280fd06687609ee521134d03d28afa =================================================================== +++ 20100612T084318 @@ 12 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1 リポジトリのルート: http://svn.ruby-lang.org/repos/ruby リポジトリ UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +リビジョン: 28292 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: yugui @@ 9947 @@ s: . OpenSSL::TestSSL#test_sslctx_set_params: /home/chkbuild/tmp/build/ruby-1.9.1//ruby/.ext/common/openssl/ssl.rb:: warning: using default DH parameters. s: . +OpenSSL::TestSSL#test_starttls: /home/chkbuild/tmp/build/ruby-1.9.1//ruby/.ext/common/openssl/buffering.rb:: warning: SSL session is not started yet. /home/chkbuild/tmp/build/ruby-1.9.1//ruby/.ext/common/openssl/buffering.rb:: warning: SSL session is not started yet. /home/chkbuild/tmp/build/ruby-1.9.1//ruby/.ext/common/openssl/buffering.rb:: warning: SSL session is not started yet. /home/chkbuild/tmp/build/ruby-1.9.1//ruby/.ext/common/openssl/buffering.rb:: warning: SSL session is not started yet. @@ 19947 @@ /home/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/socket/extconf.rb:: warning: ambiguous first argument; put parentheses or even spaces /home/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/json/lib/json/editor.rb:: warning: shadowing outer local variable - item s: . +TestSystem#test_system: /home/chkbuild/tmp/build/ruby-1.9.1//tmp/ruby_script_tmp20100612-16098-14djsbm/ruby_script_tmp.16098:: warning: global variable `$zzz' not initialized s: . TestTCPSocket#test_encoding: s: . TestTCPSocket#test_recvfrom: s: . @@ 53695 @@ - 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 Finished in seconds +1 file, 15 examples, 87 expectations, 0 failures, 0 errors == rubyspec/core/string/to_r_spec.rb #