COMMIT new_hash: Added () to avoid warning in Ruby 1.9.1 http://github.com/rubyspec/mspec/commit/b5cb7249ba950cc2915250dde3e3bbc347038ff6 COMMIT Does (x=*[]) == nil or []? Now checks it directly instead of testing RUBY_VERSION >= '1.9' http://github.com/rubyspec/mspec/commit/22b5cfd30c059306c0f80d9f463db694afc3322e COMMIT Make new_hash helper smarter. http://github.com/rubyspec/mspec/commit/8d59c0e2362cc7975d79e9d991845c703724b400 COMMIT Added hash_class and new_hash helpers. http://github.com/rubyspec/mspec/commit/e6f73800694cf1fff33be79ee9e243ff5ad61c8f COMMIT 1.8.7: Array#shift(n) http://github.com/rubyspec/rubyspec/commit/3a91aa2701a2d2595c35f4e3e6de019f9cc3be9d COMMIT 1.9: Array#product (new) http://github.com/rubyspec/rubyspec/commit/055fb276222f15cae185e0eef27bb2d8c1c4847b COMMIT 1.9: Enumerator.new accepts a block http://github.com/rubyspec/rubyspec/commit/28536a7d9dbdd01ac61b0ccd2bd5abff424b0de0 COMMIT Convert Hash specs to use new_hash and hash_class helpers. http://github.com/rubyspec/rubyspec/commit/37367ecb5fdd5f17460cf4ae1bf95e7c123a3377 COMMIT 1.8.7: Array & Enumerable#cycle (new) http://github.com/rubyspec/rubyspec/commit/9bf46b94329cf0277e5803efadccd7042cb59574 COMMIT Enumerable#find: Better check of enumerator http://github.com/rubyspec/rubyspec/commit/c5679b8fcbc061b6947d6d586aabe8d8642f63f2 COMMIT Enumerable#find, find_all: block optional or not... http://github.com/rubyspec/rubyspec/commit/9b7eadde5b2bf1684c580345ea8a340047e8e138 COMMIT Enumerable#map: cases when no block given http://github.com/rubyspec/rubyspec/commit/b8f54aa21bab3c78e0edaad99b1e8397d995ad6f COMMIT Enumerable#collect/map: moving shared part to shared/ http://github.com/rubyspec/rubyspec/commit/ece81a1270e89219f96a6d7798041977387c61b6 COMMIT 1.8.7: Array#combination (new) http://github.com/rubyspec/rubyspec/commit/6a28861df28a2dac34686fb6281853326855e321 COMMIT Added Array.try_convert http://github.com/rubyspec/rubyspec/commit/eccc35ac2e3188c66a8636b173fd30b526983f3e COMMIT 1.9: Array.try_convert http://github.com/rubyspec/rubyspec/commit/c32eef0878034a7a8366554ca80ea8a695f1decb COMMIT 1.8.7: Array#rindex accepts a block http://github.com/rubyspec/rubyspec/commit/a6bd8ba87e8aad8bf6acce59e4ed736c69195447 COMMIT 1.8.7: index accepts block http://github.com/rubyspec/rubyspec/commit/f96c7ff59306c2a3a4149284f5c321d66df4fabd --- 20090506T080929 +++ 20090507T081506 @@ -1,8917 +1,8917 @@ IMAPTest#test_imaps_with_ca_file: s: . IMAPTest#test_starttls: s: . IMAPTest#test_unexpected_eof: s: . -MinitestSpec#test_needs_to_verify_using_respond_to: s: . -MinitestSpec#test_needs_to_verify_kinds_of_objects: s: . MinitestSpec#test_needs_to_verify_mismatch: s: . -MinitestSpec#test_needs_to_verify_floats_within_a_delta: s: . -MinitestSpec#test_needs_to_have_all_methods_named_well: s: . -MinitestSpec#test_needs_to_verify_identity: s: . +MinitestSpec#test_needs_to_be_able_to_catch_a_minitest_assertion_exception: s: . +MinitestSpec#test_needs_to_verify_using_any_operator: s: . MinitestSpec#test_needs_to_verify_throw: s: . -MinitestSpec#test_needs_to_verify_equality: s: . -MinitestSpec#test_needs_to_verify_regexp_matches: s: . +MinitestSpec#test_needs_to_catch_an_unexpected_exception: s: . +MinitestSpec#test_needs_to_verify_kinds_of_objects: s: . MinitestSpec#test_needs_raise_if_an_expected_exception_is_not_raised: s: . -MinitestSpec#test_needs_to_verify_non_nil: s: . +MinitestSpec#test_needs_to_verify_regexp_matches: s: . +MinitestSpec#test_needs_to_verify_identity: s: . MinitestSpec#test_needs_to_verify_non_identity: s: . -MinitestSpec#test_needs_to_be_able_to_catch_a_minitest_assertion_exception: s: . -MinitestSpec#test_needs_to_verify_inequality: s: . MinitestSpec#test_needs_to_verify_nil: s: . -MinitestSpec#test_needs_to_catch_an_expected_exception: s: . -MinitestSpec#test_needs_to_verify_using_any_operator: s: . MinitestSpec#test_needs_to_verify_types_of_objects: s: . -MinitestSpec#test_needs_to_catch_an_unexpected_exception: s: . +MinitestSpec#test_needs_to_verify_non_nil: s: . +MinitestSpec#test_needs_to_verify_using_respond_to: s: . +MinitestSpec#test_needs_to_verify_inequality: s: . +MinitestSpec#test_needs_to_verify_equality: s: . +MinitestSpec#test_needs_to_verify_floats_within_a_delta: s: . +MinitestSpec#test_needs_to_catch_an_expected_exception: s: . +MinitestSpec#test_needs_to_have_all_methods_named_well: s: . NonString#test_6: s: . NonString#test_7: s: . OpenSSL::TestASN1#test_decode: s: . @@ -14151,7 +14151,7 @@ TestThread#test_join: s: . TestThread#test_join2: s: . TestThread#test_kill_main_thread: s: . -TestThread#test_list: s: F +TestThread#test_list: s: . TestThread#test_local_barrier: s: . TestThread#test_main: s: . TestThread#test_mutex_deadlock: s: . @@ -14161,7 +14161,7 @@ TestThread#test_mutex_synchronize: s: . TestThread#test_mutex_trylock: s: . TestThread#test_new: s: . -TestThread#test_priority: s: . +TestThread#test_priority: s: F TestThread#test_recursive_error: s: . TestThread#test_safe_level: s: . TestThread#test_select_wait: s: . @@ -14683,10 +14683,10 @@ /home/chkbuild/tmp/build/ruby-1.9.1//ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in `setup' ) Failure: -test_list(TestThread) [/home/chkbuild/tmp/build/ruby-1.9.1//ruby/test/ruby/test_thread.rb:226]: -timeout +test_priority(TestThread) [/home/chkbuild/tmp/build/ruby-1.9.1//ruby/test/ruby/test_thread.rb:129]: +[ruby-dev:33124] -5853 tests, 2839276 assertions, 4 failures, 7 errors, 0 skips +5853 tests, 2839277 assertions, 4 failures, 7 errors, 0 skips make: *** [test-all] エラー 1 exit 2 failed(test-all) @@ -16293,6 +16293,8 @@ - returns 0 if first element == to object - returns size-1 if only last element == to object - returns nil if no element == to object +- accepts a block instead of an argument +- ignore the block if there is an argument /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/indexes_spec.rb /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/indices_spec.rb @@ -16995,12 +16997,14 @@ - returns a new array without elements for which block is true - properly handles recursive arrays - returns subclass instance on Array subclasses +- returns an Enumerator if no block given Array#reject! - removes elements for which block is true - properly handles recursive arrays - returns nil if no changes are made - raises a RuntimeError on a frozen array +- returns an Enumerator if no block given /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/replace_spec.rb Array#replace @@ -17017,6 +17021,7 @@ - traverses array in reverse order and pass each element to block - properly handles recursive arrays - does not fail when removing elements from block +- returns an Enumerator if no block given /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/reverse_spec.rb Array#reverse @@ -17037,6 +17042,8 @@ - returns nil if no element == to object - does not fail when removing elements from block - properly handles recursive arrays +- accepts a block instead of an argument +- ignore the block if there is an argument /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/sample_spec.rb Array#sample @@ -17056,6 +17063,19 @@ - properly handles recursive arrays - raises a RuntimeError on a frozen array +Array#shift passed a number n as an argument +- removes and returns an array with the first n element of the array +- returns a new empty array if there are no more elements +- returns whole elements if n exceeds size of the array +- does not return self even when it returns whole elements +- raises an ArgumentError if n is negative +- tries to convert n to an Integer using #to_int +- raises a TypeError when the passed n can be coerced to Integer +- raises an ArgumentError if more arguments are passed +- does not return subclass instances with Array subclass +- returns an untainted array even if the array is tainted +- keeps taint status + /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/size_spec.rb Array#size - returns the number of elements @@ -17171,6 +17191,13 @@ - raises an IndexError if the arrays are not of the same length - does not return subclass instance on Array subclasses +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/try_convert_spec.rb +Array.try_convert +- returns self for arrays +- converts using :to_ary +- returns nil when there is no :to_ary +- should not rescue errors + /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/union_spec.rb Array#| - returns an array of elements that appear in either array (union) @@ -17762,6 +17789,7 @@ Enumerable#collect - collect should return a new array with the results of passing each element to block - gathers initial args as elements when each yields multiple +- returns an enumerator when no block given /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/count_spec.rb Enumerable#count @@ -17778,6 +17806,8 @@ - returns the value of the ifnone proc if the block is false - doesn't call the ifnone proc if an element is found - calls the ifnone proc only once when the block is false +- returns an enumerator when no block given +- passes the ifnone proc to the enumerator /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/each_spec.rb Enumerable.each @@ -17799,6 +17829,7 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/find_all_spec.rb Enumerable#find_all - returns all elements for which the block is not false +- returns an enumerator when no block given /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/find_spec.rb Enumerable#find @@ -17808,6 +17839,8 @@ - returns the value of the ifnone proc if the block is false - doesn't call the ifnone proc if an element is found - calls the ifnone proc only once when the block is false +- returns an enumerator when no block given +- passes the ifnone proc to the enumerator /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/grep_spec.rb Enumerable#grep @@ -17834,6 +17867,8 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/map_spec.rb Enumerable#map - collect should return a new array with the results of passing each element to block +- gathers initial args as elements when each yields multiple +- returns an enumerator when no block given /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/max_by_spec.rb Enumerable#max_by @@ -17885,6 +17920,7 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/select_spec.rb Enumerable#select - returns all elements for which the block is not false +- returns an enumerator when no block given /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/sort_by_spec.rb Enumerable#sort_by @@ -20220,6 +20256,7 @@ - returns nil at end-of-file with a length - with length argument returns nil when the current pos is bigger than the content size - raises IOError on closed stream +heh /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/readchar_spec.rb IO#readchar @@ -20234,7 +20271,6 @@ - is modified by the cursor position - raises EOFError on end of stream - raises IOError on closed stream -heh /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/readlines_spec.rb IO#readlines when passed no arguments @@ -33006,7 +33042,7 @@ Finished in seconds -2540 files, 8975 examples, 111365 expectations, 13 failures, 7 errors +2541 files, 9006 examples, 105488 expectations, 13 failures, 7 errors exit 1 failed(rubyspec) == end #