COMMIT Math.log{2}: improve specs for Ruby 1.9 http://github.com/rubyspec/rubyspec/commit/70050784ffc70c7bf2dffb7385b7192dbd582521 =================================================================== +++ 20100620T083034 @@ 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 +リビジョン: 28363 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: 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_tmp20100620-6936-14djsbm/ruby_script_tmp.6936:: warning: global variable `$zzz' not initialized s: . TestTCPSocket#test_encoding: s: . TestTCPSocket#test_recvfrom: s: . @@ 44661 @@ Math.log2 - returns a float - returns the natural logarithm of the argument +- raises an Errno::EDOM if the argument is less than 0 (ERROR - ) - raises an TypeError if the argument cannot be coerced with Float() +- raises an TypeError if passed a numerical argument as a string - raises a TypeError if the argument is nil - accepts any argument that can be coerced with Float() ) +Math.log2 raises an Errno::EDOM if the argument is less than 0 ERROR NameError: uninitialized constant Math::DomainError +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/log2_spec.rb:45:in `block (3 levels) in ' +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/log2_spec.rb:34:in `block in ' +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/log2_spec.rb:33:in `' Finished in seconds +1 file, 7 examples, 7 expectations, 0 failures, 1 error exit 1 +failed(rubyspec/core/math/log2_spec.rb) == rubyspec/core/math/log_spec.rb #