COMMIT Fixed Array#cycle specs. http://github.com/rubyspec/rubyspec/commit/f9f677416c68a7b04e1c8ea6ffceffe1413bf948 COMMIT Fixed Array() specs. http://github.com/rubyspec/rubyspec/commit/2636963d136d724192b6f5073e778e960910affc COMMIT Fixed whitespace in Numeric#step specs. http://github.com/rubyspec/rubyspec/commit/b5fb412137b11df4945e93c8e13d2fc134b43585 COMMIT Fixed Numeric#step specs. http://github.com/rubyspec/rubyspec/commit/9cdefce68edf9995322ddbfbce9dd2aa1f1780cb COMMIT Move specs of Object#instance_exec http://github.com/rubyspec/rubyspec/commit/c6687e80e28be5213e560320eb84b42e10c6b8e5 COMMIT Cleanup whitespace http://github.com/rubyspec/rubyspec/commit/1a889353b4d59ff3c52616b333336c8770c055c7 COMMIT More RUBYOPT specs and cleanup. http://github.com/rubyspec/rubyspec/commit/aceab7aba2336e730fa6e8c9fc774bc74b31a82c COMMIT Clean up some C-API IO specs. http://github.com/rubyspec/rubyspec/commit/7082dd42864389d5b84c1a6935e2e2c3bee478f7 COMMIT More rb_ary_delete_at specs. http://github.com/rubyspec/rubyspec/commit/4ab12fc473471bfc82d84a1f0fa84f3947b2854f COMMIT Add spec for custom seperator with ** http://github.com/rubyspec/rubyspec/commit/c56ac8061ec7b3901352cc7a5cf0ea6d13f35318 COMMIT More better RARRAY specs. http://github.com/rubyspec/rubyspec/commit/af12a69ea531fed0c4d854072c9068aa5f2926c8 COMMIT Better RSTRING spec. http://github.com/rubyspec/rubyspec/commit/ffc05cd5e7e2304203ad3ab42983075b322e1acb COMMIT Rewrote rb_scan_args specs. http://github.com/rubyspec/rubyspec/commit/69255c46b1f1a38d34a4f2bd258efe5aaccd5783 =================================================================== +++ 20110115T040056Z @@ 7425 @@ ./test/socket/test_unix.rb:37:in `bound_unix_socket' ./test/socket/test_unix.rb:43:in `test_addr' +2231 tests, 1347890 assertions, 2 failures, 1 errors make: *** [test-all] Error 1 exit 2 failed(test-all) @@ 7826 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/count_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/cycle_spec.rb Array#cycle +- does not yield and returns nil when the array is empty +- does not yield and returns nil when passed 0 +- iterates the array 'count' times yielding each item to the block +- iterates indefinitely when not passed a count +- iterates indefinitely when passed nil +- does not rescue StopIteration when not passed a count +- does not rescue StopIteration when passed a count +- iterates the array Integer(count) times when passed a Float count +- calls #to_int to convert count to an Integer - raises a TypeError if #to_int does not return an Integer +- raises a TypeError if passed a String +- raises a TypeError if passed an Object +- raises a TypeError if passed true - raises a TypeError if passed false /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/delete_at_spec.rb @@ 14844 @@ - raises IOError on closed stream /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/kernel/Array_spec.rb +Kernel +- has private instance method Array() Kernel.Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array Kernel#Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/kernel/Complex_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/kernel/Float_spec.rb @@ 17785 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/numeric/step_spec.rb Numeric#step - raises an ArgumentError when step is 0 +- raises an ArgumentError when step is 0.0 - defaults to step = 1 +- returns an Enumerator when step is 0 +- returns an Enumerator when not passed a block and self > stop +- returns an Enumerator when not passed a block and self < stop - returns an Enumerator that uses the given step +- does not rescue ArgumentError exceptions +- does not rescue TypeError exceptions Numeric#step with [stop, step] +- increments self using #+ until self > stop when step > 0 +- decrements self using #+ until self < stop when step < 0 +Numeric#step Numeric#step with [stop, step] when self, stop and step are Fixnums - yields only Fixnums +Numeric#step Numeric#step with [stop, +step] when self, stop and step are Fixnums - yields while increasing self by step until stop is reached - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step Numeric#step with [stop, -step] when self, stop and step are Fixnums - yields while decreasing self by step until stop is reached - yields once when self equals stop - does not yield when self is less than stop +Numeric#step Numeric#step with [stop, step] +- yields only Floats when self is a Float +- yields only Floats when stop is a Float +- yields only Floats when step is a Float +Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float +- yields while increasing self by step while stop < stop - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float +- yields while decreasing self by step while self > stop - yields once when self equals stop - does not yield when self is less than stop @@ 17867 @@ - does not preserve frozen state from the original /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/object/initialize_spec.rb +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/object/instance_exec_spec.rb +Object#instance_exec +- raises a LocalJumpError unless given a block - has an arity of -1 +- accepts arguments with a block +- doesn't pass self to the block as an argument +- passes any arguments to the block +- only binds the exec to the receiver - binds self to the receiver - executes in the context of the receiver - has access to receiver's instance variables @@ 23241 @@ - includes TOPLEVEL_BINDING Processing RUBYOPT +- adds the -I path to $LOAD_PATH +- sets $DEBUG to true for '-d' +- sets $VERBOSE to true for '-w' +- sets $VERBOSE to true for '-W' +- sets $VERBOSE to nil for '-W0' +- sets $VERBOSE to false for '-W1' +- sets $VERBOSE to true for '-W2' +- requires the file for '-r' +- sets $KCODE to 'NONE' with '-K' +- sets $KCODE to 'NONE' with '-Ka' +- sets $KCODE to 'NONE' with '-KA' +- sets $KCODE to 'NONE' with '-Kn' +- sets $KCODE to 'NONE' with '-KN' +- sets $KCODE to 'EUC' with '-Ke' +- sets $KCODE to 'EUC' with '-KE' +- sets $KCODE to 'UTF8' with '-Ku' +- sets $KCODE to 'UTF8' with '-KU' +- sets $KCODE to 'SJIS' with '-Ks' +- sets $KCODE to 'SJIS' with '-KS' - raises a RuntimeError for '-a' - raises a RuntimeErrorError for '-p' - raises a RuntimeErrorError for '-n' @@ 32675 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/cycle_spec.rb Array#cycle +- does not yield and returns nil when the array is empty +- does not yield and returns nil when passed 0 +- iterates the array 'count' times yielding each item to the block +- iterates indefinitely when not passed a count +- iterates indefinitely when passed nil +- does not rescue StopIteration when not passed a count +- does not rescue StopIteration when passed a count +- iterates the array Integer(count) times when passed a Float count +- calls #to_int to convert count to an Integer - raises a TypeError if #to_int does not return an Integer +- raises a TypeError if passed a String +- raises a TypeError if passed an Object +- raises a TypeError if passed true - raises a TypeError if passed false @@ 46624 @@ ruby /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/kernel/Array_spec.rb +Kernel +- has private instance method Array() Kernel.Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array Kernel#Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array Finished in seconds @@ 52141 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/numeric/step_spec.rb Numeric#step - raises an ArgumentError when step is 0 +- raises an ArgumentError when step is 0.0 - defaults to step = 1 +- returns an Enumerator when step is 0 +- returns an Enumerator when not passed a block and self > stop +- returns an Enumerator when not passed a block and self < stop - returns an Enumerator that uses the given step +- does not rescue ArgumentError exceptions +- does not rescue TypeError exceptions Numeric#step with [stop, step] +- increments self using #+ until self > stop when step > 0 +- decrements self using #+ until self < stop when step < 0 +Numeric#step Numeric#step with [stop, step] when self, stop and step are Fixnums - yields only Fixnums +Numeric#step Numeric#step with [stop, +step] when self, stop and step are Fixnums - yields while increasing self by step until stop is reached - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step Numeric#step with [stop, -step] when self, stop and step are Fixnums - yields while decreasing self by step until stop is reached - yields once when self equals stop - does not yield when self is less than stop +Numeric#step Numeric#step with [stop, step] +- yields only Floats when self is a Float +- yields only Floats when stop is a Float +- yields only Floats when step is a Float +Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float +- yields while increasing self by step while stop < stop - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float +- yields while decreasing self by step while self > stop - yields once when self equals stop - does not yield when self is less than stop @@ 52299 @@ Finished in seconds 1 file, 0 examples, expectations, 0 failures, 0 errors +== rubyspec/core/object/instance_exec_spec.rb #