OlderDiff < 20110126T024126Z < ThisDiff > 20110127T024204Z > NewerDiff
COMMIT Fixed break specs unnecessarily relying on and guarding against block argument shadowing behaviour. COMMIT Move block specs that don't introduce parse errors into the main block_spec file. COMMIT Add a few basic specs for 1.9's new popen syntax. COMMIT Add spec for right shift boundary COMMIT Fixed Tempfile specs to not leave junk behind. COMMIT Use before :all in Delegate specs with no side effects. COMMIT Ensure Array#shift adjusts indices properly COMMIT Add spec for Array#shift + Array#each_index interactions COMMIT Add spec for Array#shift + Array#[]= interactions COMMIT Merge branch 'unguard-break-specs' of https://github.com/stormbrew/rubyspec into stormbrew COMMIT Merge branch 'move-block-shadow-specs' of https://github.com/stormbrew/rubyspec into stormbrew COMMIT Spec for Array#join calling #to_s reported by qmx. COMMIT Add specs for a Proc subclass' .new method. COMMIT Some Proc spec cleanup. COMMIT More Proc spec cleanups. COMMIT Added Array#flatten cases reported by floehopper. =================================================================== +++ 20110127T024204Z @@ 7954 @@ Array#each_index - passes the index of each element to the block - returns self +- is not confused by removing elements from the front - returns an Enumerator if no block given /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/each_spec.rb @@ 8030 @@ - sets the section defined by [start,length] to other - replaces the section defined by [start,length] with the given values - removes the section defined by [start,length] when set to nil +- is not confused by shift when removing elements with nil - returns nil if the rhs is nil - sets the section defined by range to other - replaces the section defined by range with the given values @@ 8207 @@ - returns subclass instance for Array subclasses - is not destructive +Array#flatten with a non-Array object in the Array +- does not call #to_ary if the method does not exist +- ignores the return value of #to_ary if it is nil +- raises a TypeError if the return value of #to_ary is not an Array Array#flatten! - modifies array to produce a one-dimensional flattening recursively @@ 8360 @@ - uses $, as the default separator (which defaults to nil) - does not process the separator if the array is empty - calls #to_str to convert the separator to a String +- calls #to_s on the Array elements - raises a TypeError if the separator cannot be coerced to a String by calling #to_str /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/keep_if_spec.rb @@ 13403 @@ - returns n when n > 0, m == 0 - returns n when n < 0, m == 0 - returns 0 when m > 0 and m == p where 2**p > n >= 2**(p-1) +- returns 0 when m is outside the available bits and n >= 0 +- returns -1 when m is outside the available bits and n < 0 - returns 0 when m is a Bignum - returns a Bignum == fixnum_max() * 2 when fixnum_max() >> -1 and n > 0 - returns a Bignum == fixnum_min() * 2 when fixnum_min() >> -1 and n < 0 @@ 18286 @@ Proc.new without a block - raises an ArgumentError - raises an ArgumentError if invoked from within a method with no block +- raises an ArgumentError if invoked on a subclass from within a method with no block /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/proc/parameters_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/proc/source_location_spec.rb @@ 33191 @@ Array#each_index - passes the index of each element to the block - returns self +- is not confused by removing elements from the front - returns an Enumerator if no block given @@ 33291 @@ - sets the section defined by [start,length] to other - replaces the section defined by [start,length] with the given values - removes the section defined by [start,length] when set to nil +- is not confused by shift when removing elements with nil - returns nil if the rhs is nil - sets the section defined by range to other - replaces the section defined by range with the given values @@ 33348 @@ Finished in <t> seconds +1 file, 49 examples, <num> expectations, 0 failures, 0 errors == rubyspec/core/array/empty_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/array/empty_spec.rb ruby <version> @@ 33532 @@ - returns subclass instance for Array subclasses - is not destructive +Array#flatten with a non-Array object in the Array +- does not call #to_ary if the method does not exist +- ignores the return value of #to_ary if it is nil +- raises a TypeError if the return value of #to_ary is not an Array Array#flatten! - modifies array to produce a one-dimensional flattening recursively @@ 33781 @@ - uses $, as the default separator (which defaults to nil) - does not process the separator if the array is empty - calls #to_str to convert the separator to a String +- calls #to_s on the Array elements - raises a TypeError if the separator cannot be coerced to a String by calling #to_str @@ 43482 @@ - returns n when n > 0, m == 0 - returns n when n < 0, m == 0 - returns 0 when m > 0 and m == p where 2**p > n >= 2**(p-1) +- returns 0 when m is outside the available bits and n >= 0 +- returns -1 when m is outside the available bits and n < 0 - returns 0 when m is a Bignum - returns a Bignum == fixnum_max() * 2 when fixnum_max() >> -1 and n > 0 - returns a Bignum == fixnum_min() * 2 when fixnum_min() >> -1 and n < 0 @@ 53853 @@ Proc.new without a block - raises an ArgumentError - raises an ArgumentError if invoked from within a method with no block +- raises an ArgumentError if invoked on a subclass from within a method with no block Finished in <t> seconds @@ 87653 @@ Tempfile.open - returns a new, open Tempfile instance +- is passed an array [base, suffix] as first argument Tempfile.open when passed a block - yields a new, open Tempfile instance to the block =================================================================== --- 20110126T024126Z @@ 87631 @@ - closes the yielded Tempfile after the block Tempfile.open -- is passed an array [base,suffix] as first argument Finished in <t> seconds
OlderDiff < 20110126T024126Z < ThisDiff > 20110127T024204Z > NewerDiff