COMMIT Added string or symbol helper for MSpec. http://github.com/rubyspec/mspec/commit/dab04a1ad7bce38689b5a5cac49e93723c53b305 COMMIT Respect privacy of method_missing in Ruby. http://github.com/rubyspec/mspec/commit/89b3cae09a9bd8cf3064e49e150c0af6525def07 COMMIT Load ActionFilter before custom mspec scripts. http://github.com/rubyspec/mspec/commit/0fc2082538853a79fd9dca868b12570df0dd2ba1 COMMIT Added have_singleton_method matcher. http://github.com/rubyspec/mspec/commit/6563955da20f93e6dcd5a35ec5828de75c6165eb COMMIT Add a dirt-simple spec for options argument to IO.foreach. http://github.com/rubyspec/rubyspec/commit/846de74f536edd22746fb68bd60a7d6d8785374b COMMIT Fixed Array#inspect specs for tainted Array or elements. http://github.com/rubyspec/rubyspec/commit/c8fd906c542bda498793f89fa1b79af3c5967a47 COMMIT Fixed order-dependent Hash#each spec. http://github.com/rubyspec/rubyspec/commit/cde9f6821546ca5966922d2ca5a51a3940c6807d COMMIT Mild cleanup and clarify modification during iteration spec http://github.com/rubyspec/rubyspec/commit/e1edaccc54718032baf370167bd1df0d802b9ddc COMMIT Enhance spec for Array#inspect tainting result. http://github.com/rubyspec/rubyspec/commit/8e56777a62f41cc998d4d817f637fc73ec95d1b3 COMMIT Enhance spec for using in Hash#[]= already frozen keys. http://github.com/rubyspec/rubyspec/commit/dc26cba6a0f13ab7110f2f8fbed23b5d73dce0c2 COMMIT Add spec for rb_str_buf_new2 http://github.com/rubyspec/rubyspec/commit/23955d1fd8375ef0b85305c0f0cb9dad650766f6 COMMIT improve string arg handling so numbers are always decimal http://github.com/rubyspec/rubyspec/commit/370b7cac29f7f8fb97d0601452307c685afd1786 COMMIT String#strip should remove null bytes only if they are last and consecutives http://github.com/rubyspec/rubyspec/commit/c96631b713bc25de2f8e262d82f6abb97caa4e3f COMMIT Add spec for module_eval + lexical constant scope http://github.com/rubyspec/rubyspec/commit/b89f2677162842da83e0b03f2120422f74aa8696 COMMIT Add spec for IO#expect http://github.com/rubyspec/rubyspec/commit/0b3c652e345bac78a9a3252d2652e78ee503b74e COMMIT Fixed String#strip, #rstrip specs for 1.9. http://github.com/rubyspec/rubyspec/commit/04efe1d9c086d6c88c2d65fc32584e0ed43df373 COMMIT Format fix some Time specs http://github.com/rubyspec/rubyspec/commit/6afe232079ceb735b10480d1b52ed7d7e80da67f COMMIT Add a few more arg type check specs for Time http://github.com/rubyspec/rubyspec/commit/3efa1ae22a38806bc44e7846f7e963b2b3e36179 COMMIT Make sure TCPSocket.new (shared) spec cleans up properly after failing (fixes hang) http://github.com/rubyspec/rubyspec/commit/027167c89c44ba880c4dcefb2933bad1fbc20abb COMMIT Add specs for defining attribute methods on immediates http://github.com/rubyspec/rubyspec/commit/50a075488622aa6dfb36beee328c3d211891e1e8 COMMIT Flesh out string coerce specs in StringScanner http://github.com/rubyspec/rubyspec/commit/53308a492cb1be78dc88ea266bb4d283171a2ee4 COMMIT Add specs that Kernel#object_id shouldn't collide http://github.com/rubyspec/rubyspec/commit/9c7ff395809ed4d634502158f089f7ff520ca9f6 COMMIT Rewrote Kernel#singleton_methods specs. http://github.com/rubyspec/rubyspec/commit/67184e2e19a0f9f8c416eca040621677d7f94f5d COMMIT Enhance Module#define_method spec http://github.com/rubyspec/rubyspec/commit/d5183a701dc918f567788ec659a7c0bce6c5f0e7 COMMIT Spec for File.expand_path('~'). http://github.com/rubyspec/rubyspec/commit/a5dfe0c522b2f4da6ccdd531100e92408b6566a7 COMMIT Added Module#define_method with block specs for arity checking. http://github.com/rubyspec/rubyspec/commit/7abfa2df2cd487d4fba5640fe753ff4ce9b3dfa1 COMMIT Quarantine #freeze specs temporarily. http://github.com/rubyspec/rubyspec/commit/0cee478ec91d9f64eae69c9ddbd3b5d0fdd44233 COMMIT More method reflection specs. http://github.com/rubyspec/rubyspec/commit/9db354d0ebeabdf8993e2a2ae1d09356d164d04d COMMIT Add missing return in CAPI Array spec http://github.com/rubyspec/rubyspec/commit/6feb0bae88fe6d3ec2208f5455e516abed876fa3 COMMIT Add spec for visibility+alias changes http://github.com/rubyspec/rubyspec/commit/78194af6b74cc38935240491b492755d43215586 COMMIT Add spec for a directory with a glob http://github.com/rubyspec/rubyspec/commit/337c09730b4742b281ecf80682a54794161c4345 COMMIT Specs for Hash[] method when passing an array http://github.com/rubyspec/rubyspec/commit/1e7e22bfcf1edbd40e78c6b31086378513472ef5 COMMIT Fixed Hash.[] spec for 1.8.6. http://github.com/rubyspec/rubyspec/commit/adf465724ea2acbd317f31ea1700c89762518947 COMMIT Spec for eval locals at script scope. http://github.com/rubyspec/rubyspec/commit/c6a9a7c384b30db9214cfbd1954b06fe194c8728 COMMIT Cleanup eval specs http://github.com/rubyspec/rubyspec/commit/1eac6148d8f82f09a78b5f768341ab6613aec1a9 COMMIT Handle ST_DELETE returns from the rb_hash_foreach callback http://github.com/rubyspec/rubyspec/commit/c69b023455501b918a08624da7d39069c039c43d COMMIT Language specs for break. http://github.com/rubyspec/rubyspec/commit/cc7f536b7603a78110756123ba09749aa01f4363 COMMIT Add spec for reuse of an Exception's backtrace. http://github.com/rubyspec/rubyspec/commit/809fcf877b18d8c23c8c739ddb5b8780b5cba6a4 COMMIT Added new specs for Class#dup http://github.com/rubyspec/rubyspec/commit/700b359a2d17966fb77a1b613ccd6440bfed571f COMMIT Clarify language/break specs for non-compliant rbx behavior. http://github.com/rubyspec/rubyspec/commit/abf58868b06288f16beb5b3d60f1fd5d50e2d607 COMMIT Add extra spec for magic + braces in one name http://github.com/rubyspec/rubyspec/commit/b609ef9afe2c202375b9c8af17c526a2eeff9c66 =================================================================== +++ 20110308T060052Z @@ 11182 @@ - returns a string - calls inspect on its elements - handles recursive arrays +- taints the result String if the Array is tainted +- taints the result String if an element is tainted +- does not taint the result String if the Array is empty /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/array/intersection_spec.rb Array#& @@ 13579 @@ - returns a fully-formed instance of Module - does not call initialize on the new instance +/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/class/dup_spec.rb +Class#dup +- duplicates both the class and the singleton class +- retains the correct ancestor chain for the singleton class /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/class/inherited_spec.rb Class.inherited @@ 13794 @@ - matches dotfiles with '.*' - matches files with any ending with '*' - matches files with any middle with '*' +- handles directories with globs - matches files with multiple '*' special characters - matches non-dotfiles in the current directory with '**' - matches dotfiles in the current directory with '.**' @@ 13807 @@ - matches any characters except those in a set with '[^]' - matches any characters except those in a range with '[^-,,...}' +- matches a set '{,,...}' which also uses a glob - accepts string sets with empty strings with {,,} - matches dot or non-dotfiles with '{,.}*' - respects the order of {} expressions, expanding left most first @@ 13859 @@ - matches dotfiles with '.*' - matches files with any ending with '*' - matches files with any middle with '*' +- handles directories with globs - matches files with multiple '*' special characters - matches non-dotfiles in the current directory with '**' - matches dotfiles in the current directory with '.**' @@ 13872 @@ - matches any characters except those in a set with '[^]' - matches any characters except those in a range with '[^-,,...}' +- matches a set '{,,...}' which also uses a glob - accepts string sets with empty strings with {,,} - matches dot or non-dotfiles with '{,.}*' - respects the order of {} expressions, expanding left most first @@ 14555 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/exception/set_backtrace_spec.rb Exception#set_backtrace - allows the user to set the backtrace to any array +- allows the user to set the backtrace from a rescued exception /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/exception/signm_spec.rb SignalException#signm @@ 14863 @@ - does not modify a HOME string argument - returns a String when passed a String subclass +File.expand_path when HOME is not set +- raises an ArgumentError when passed '~' if HOME is nil +- returns '/' when passed '~' if HOME == '' /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/file/extname_spec.rb File.extname @@ 16244 @@ Hash#each - yields a [[key, value]] Array for each pair to a block expecting |*args| - yields the key and value of each pair to a block expecting |key, value| +- yields the key only to a block expecting |key,| - uses the same order as keys() and values() - raises a LocalJumpError when called on a non-empty hash without a block - does not raise a LocalJumpError when called on an empty hash without a block @@ 16279 @@ - duplicates string keys using dup semantics - stores unequal keys that hash to the same value - duplicates and freezes string keys +- doesn't duplicate and freeze already frozen string keys - raises a TypeError if called on a frozen instance - does not raise an exception if changing the value of an existing key during iteration @@ 16517 @@ - duplicates string keys using dup semantics - stores unequal keys that hash to the same value - duplicates and freezes string keys +- doesn't duplicate and freeze already frozen string keys - raises a TypeError if called on a frozen instance - does not raise an exception if changing the value of an existing key during iteration @@ 16830 @@ - raises an IOError if passed a closed stream - raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode +/var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/io/foreach_spec.rb (ERROR - ) /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/io/fsync_spec.rb IO#fsync - raises an IOError on closed stream @@ 16927 @@ - truncates a Float argument - raises TypeError on nil argument - sets the current line number to the given value +- does not change $. (ERROR - ) - does not change $. until next read /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/io/lines_spec.rb @@ 17739 @@ - returns a different value for two Float literals - returns a different value for two String literals - returns a different value for an object and its dup +- returns a different value for two numbers near the 32 bit Fixnum limit +- returns a different value for two numbers near the 64 bit Fixnum limit Kernel#__id__ - needs to be reviewed for spec completeness @@ 17992 @@ - updates a local in a surrounding block scope - updates a local in a scope above a surrounding block scope - updates a local in a scope above when modified in a nested block scope +- updates a local at script scope - accepts a Proc object as a binding - does not make Proc locals visible to evaluated code +- stores all locals of nested eval bindings in the first non-eval binding +- allows a Proc invocation to terminate the eval binding chain on local creation +- can access normal locals in nested closures - allows creating a new class in a binding - allows creating a new class in a binding created by #eval - includes file and line information in syntax error @@ 18387 @@ - does not return superclass methods undefined in a superclass - does not return included module methods undefined in the object's class +Kernel#methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/nil_spec.rb Kernel#nil? @@ 18416 @@ - returns a different value for two Float literals - returns a different value for two String literals - returns a different value for an object and its dup +- returns a different value for two numbers near the 32 bit Fixnum limit +- returns a different value for two numbers near the 64 bit Fixnum limit Kernel#object_id - needs to be reviewed for spec completeness @@ 18468 @@ - respects the class hierarchy when decided what is private - returns private methods mixed in to the metaclass +Kernel#private_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#private_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/proc_spec.rb Kernel.proc @@ 18495 @@ - returns a list of the names of protected methods accessible in the object and from its ancestors and mixed-in modules - returns protected methods mixed in to the metaclass +Kernel#protected_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#protected_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/public_method_spec.rb /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/public_methods_spec.rb @@ 18512 @@ - returns a list of the names of publicly accessible methods in the object and its ancestors and mixed-in modules - returns public methods mixed in to the metaclass +Kernel#public_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#public_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/public_send_spec.rb /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/putc_spec.rb @@ 18787 @@ - is a private method /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/singleton_methods_spec.rb +Kernel#singleton_methods when not passed an argument +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- returns the names of singleton methods for an object extented with a module +- returns a unique list for an object extended with a module +- returns the names of singleton methods for an object extented with two modules +- returns the names of singleton methods for an object extented with a module including a module +- returns the names of inherited singleton methods for a subclass +- returns a unique list for a subclass +- returns the names of inherited singleton methods for a subclass including a module +- returns a unique list for a subclass including a module +- returns the names of inherited singleton methods for a subclass of a class including a module +- returns the names of inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns the names of inherited singleton methods for a class extended with a module +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +Kernel#singleton_methods when passed true +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- returns the names of singleton methods for an object extented with a module +- returns a unique list for an object extended with a module +- returns the names of singleton methods for an object extented with two modules +- returns the names of singleton methods for an object extented with a module including a module +- returns the names of inherited singleton methods for a subclass +- returns a unique list for a subclass +- returns the names of inherited singleton methods for a subclass including a module +- returns a unique list for a subclass including a module +- returns the names of inherited singleton methods for a subclass of a class including a module +- returns the names of inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns the names of inherited singleton methods for a class extended with a module +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +Kernel#singleton_methods when passed false +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns an empty Array for an object extented with a module +- returns an empty Array for an object extented with two modules +- returns an empty Array for an object extended with a module including a module +- returns the names of singleton methods of the subclass +- does not return names of inherited singleton methods for a subclass +- does not return the names of inherited singleton methods for a class extended with a module /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/kernel/sleep_spec.rb Kernel#sleep @@ 19656 @@ Module#alias_method - makes a copy of the method - retains method visibility +- handles aliasing a stub that changes visibility - fails if origin method not found +- converts the names using #to_str - raises a TypeError when the given name can't be converted using to_str - is a private method - works in module @@ 19684 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/attr_accessor_spec.rb Module#attr_accessor - creates a getter and setter for each given attribute name +- allows creating an attr_accessor on an immediate class - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str - applies current visibility to methods created @@ 19692 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/attr_reader_spec.rb Module#attr_reader - creates a getter for each given attribute name +- allows for adding an attr_reader to an immediate - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str - applies current visibility to methods created @@ 19709 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/attr_writer_spec.rb Module#attr_writer - creates a setter for each given attribute name +- allows for adding an attr_writer to an immediate - creates a setter for an attribute name given as a Fixnum - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str @@ 19774 @@ - raises an ArgumentError when no arguments and no block are given - raises an ArgumentError when more than 3 arguments are given - raises an ArgumentError when a block and normal arguments are given +- adds methods respecting the lexical constant scope /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/class_exec_spec.rb Module#class_exec @@ 19911 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/define_method_spec.rb Module#define_method when given an UnboundMethod +- passes the given arguments to the new method - adds the new method to the methods list Module#define_method @@ 19926 @@ - is private - returns a Proc +Module#define_method passed { } creates a method that +- returns the value computed by the block when passed zero arguments +- returns the value computed by the block when passed one argument +- returns the value computed by the block when passed two arguments +Module#define_method passed { || } creates a method that +- returns the value computed by the block when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed two arguments +Module#define_method passed { |a| } creates a method that +- receives nil as the argument when passed zero arguments +- receives nil as the argument when passed zero arguments and a block +- returns the value computed by the block when passed two arguments +- receives the value passed as the argument when passed one argument +Module#define_method passed { |*a| } creates a method that +- receives an empty array as the argument when passed zero arguments +- receives the value in an array when passed one argument +- receives the values in an array when passed two arguments +Module#define_method passed { |a, *b| } creates a method that +- raises an ArgumentError when passed zero arguments +- returns the value computed by the block when passed one argument +- returns the value computed by the block when passed two arguments +Module#define_method passed { |a, b| } creates a method that +- returns the value computed by the block when passed two arguments +- raises an ArgumentError when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed one argument and a block +- raises an ArgumentError when passed three arguments +Module#define_method passed { |a, b, *c| } creates a method that +- raises an ArgumentError when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed one argument and a block +- receives an empty array as the third argument when passed two arguments +- receives the third argument in an array when passed three arguments /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/eql_spec.rb Module#eql? @@ 20118 @@ - raises an ArgumentError when no arguments and no block are given - raises an ArgumentError when more than 3 arguments are given - raises an ArgumentError when a block and normal arguments are given +- adds methods respecting the lexical constant scope /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/module_exec_spec.rb Module#module_exec @@ 20185 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#private_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#private_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/private_method_defined_spec.rb Module#private_method_defined? @@ 20218 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#protected_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#protected_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/protected_method_defined_spec.rb Module#protected_method_defined? @@ 20259 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#public_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#public_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/module/public_method_defined_spec.rb Module#public_method_defined? @@ 22378 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/string/rstrip_spec.rb String#rstrip - returns a copy of self with trailing whitespace removed +- returns a copy of self with trailing NULL bytes and whitespace after a NULL byte removed - taints the result when self is tainted String#rstrip! - modifies self in place and returns self +- modifies self removing trailing NULL bytes and whitespace after a NULL - returns nil if no modifications were made - raises a TypeError on a frozen instance that is modified - does not raise an exception on a frozen instance that would not be modified @@ 22588 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.6-o3-pth//rubyspec/core/string/strip_spec.rb String#strip - returns a new string with leading and trailing whitespace removed +- returns a copy of self with trailing NULL bytes and whitespace after a NULL byte removed - taints the result when self is tainted String#strip! - modifies self in place and returns self - returns nil if no modifications where made +- modifies self removing trailing NULL bytes and whitespace after a NULL byte - raises a TypeError on a frozen instance that is modified - does not raise an exception on a frozen instance that would not be modified @@ 25468 @@ - returns a string - calls inspect on its elements - handles recursive arrays +- taints the result String if the Array is tainted +- taints the result String if an element is tainted +- does not taint the result String if the Array is empty Finished in seconds @@ 29241 @@ Finished in seconds 1 file, 3 examples, expectations, 0 failures, 0 errors +== rubyspec/core/class/dup_spec.rb #