COMMIT Array#combination: test a bit more http://github.com/rubyspec/rubyspec/commit/8f8468331c85182265ab7af5652cef0443b0905e =================================================================== +++ 20100404T075907 @@ 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 +リビジョン: 27212 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: yugui @@ 19946 @@ /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_tmp20100404-32598-14djsbm/ruby_script_tmp.32598:: warning: global variable `$zzz' not initialized s: . TestTCPSocket#test_encoding: s: . TestTCPSocket#test_recvfrom: s: . @@ 21053 @@ - returns an enumerator when no block is provided - returns self when a block is given - yields nothing for out of bounds length and return self +- yields the expected combinations +- yields nothing if the argument is out of bounds +- yields a copy of self if the argument is the size of the receiver - yields [] when length is 0 - yields a partition consisting of only singletons @@ 23931 @@ - returns an enumerator when no block is provided - returns self when a block is given - yields nothing for out of bounds length and return self +- yields the expected combinations +- yields nothing if the argument is out of bounds +- yields a copy of self if the argument is the size of the receiver - yields [] when length is 0 - yields a partition consisting of only singletons @@ 72160 @@ Finished in seconds +1 file, 36 examples, 64196 expectations, 0 failures, 0 errors == rubyspec/library/prime/instance_spec.rb #