OlderDiff < 20110410T212640Z < ThisDiff > 20110414T014050Z > NewerDiff
COMMIT [Evan Phoenix] Add a few more Dir[] specs
COMMIT [Evan Phoenix] Add missing specs for String#chomp!
COMMIT [Evan Phoenix] Start cleanup and organization of the Marshal specs
COMMIT [Brian Ford] Silence warn_unused_result in C-API spec.
COMMIT [Dirkjan Bussink] Add spec for Module#include return value
COMMIT [Graham Batty] Adding spec to confirm that Hash#reject taints.
COMMIT [Evan Phoenix] Add specs for nested braces in Dir.glob (@meadow)
COMMIT [Nikolai Lugovoi] Added spec for Enumerable.include? to check that equality == method is called on enumeration items
COMMIT [Nikolai Lugovoi] Added spec for Array.slice!(0)
COMMIT [Evan Phoenix] Add spec for Hash#to_a and Enumerable#entries relationship
COMMIT [Nikolai Lugovoi] Added spec for YAML parsing second fraction to microseconds from iso8601 date
COMMIT [Nikolai Lugovoi] specs for rb_io_check_readable/writeable - should accept io in RDWR mode
COMMIT [Nikolai Lugovoi] fix spec for rb_io_check_writeable
COMMIT [Aman Gupta] rb_ary_reverse reverses in-place (closes #792)
COMMIT [Aman Gupta] split up rb_ary_reverse specs
COMMIT [Aman Gupta] Marshal.load wraps NameError in ArgumentError
COMMIT [Dirkjan Bussink] FreeBSD gives a different exception type
COMMIT [Evan Phoenix] Add more DATA specs
COMMIT [Evan Phoenix] Move all DATA specs to one place
COMMIT [Nikolai Lugovoi] specs for BigDecimal::ROUND_HALF_DOWN/ROUND_HALF_EVEN
COMMIT [Nikolai Lugovoi] specs for Marshal.dump/load Integer
COMMIT [Brian Ford] Rewrite IO#putc specs and share with Kernel[#.]putc.
COMMIT [Dirkjan Bussink] Add specs for rb_ary_to_ary
COMMIT [Dirkjan Bussink] Add specs for rb_alias
COMMIT [Dirkjan Bussink] Add specs for rb_struct_getmember
COMMIT [Dirkjan Bussink] Add spec for the regular case with a start and end given
COMMIT [Brian Ford] Added SpecTCPServer.
COMMIT [Brian Ford] Rewrote TCPSocket.new/open specs.
COMMIT [Brian Ford] Spec for TCPSocket#recv_nonblock.
COMMIT [Brian Ford] Temporary hack to avoid address in use exception.
COMMIT [Ivan Samsonov] More specs for File#truncate
COMMIT [Brian Ford] Some tweaks for File#truncate spec.
COMMIT [Brian Ford] Simplified SpecTCPServer.
COMMIT [Brian Ford] Cleaned up YAML.load specs usec from a ISO8601 timestamp.
COMMIT [Brian Ford] Added ruby_bug guard for BigDecimal::ROUND_HALF_DOWN|EVEN.
COMMIT [Charles Oliver Nutter] Add spec for 'self' in binding from within Class/Module.new block.
===================================================================
+++ 20110414T014050Z
@@ 10350 @@
- calls to_int on start and length arguments
- removes and return elements in range
- calls to_int on range arguments
+- returns last element for consecutive calls at zero index
- does not expand array with indices out of bounds
- does not expand array with negative indices out of bounds
- raises a TypeError on a frozen array
@@ 11114 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.[]
- matches multiple recursives
@@ 11182 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.glob
- matches multiple recursives
@@ 11197 @@
- matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
- matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
- matches any files in the current directory with '**' and option File::FNM_DOTMATCH
+- recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
- recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
- accepts a block and yields it with each elements
- matches the literal character '\' with option File::FNM_NOESCAPE
@@ 11524 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/inject_spec.rb
@@ 11567 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/min_by_spec.rb
@@ 13017 @@
- raises a TypeError if not passed an Integer type for the second argument
File#truncate
+- does not move the file write pointer to the specified byte offset
+- does not move the file read pointer to the specified byte offset
- truncates a file
- truncates a file size to 0
- truncates a file size to 5
@@ 14052 @@
Hash#reject
- is equivalent to hsh.dup.delete_if
- returns subclass instance for subclasses
+- taints the resulting hash
- processes entries with the same order as reject!
- returns an Enumerator if called on a non-empty hash without a block
- returns an Enumerator if called on an empty hash without a block
@@ 14111 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/hash/to_a_spec.rb
Hash#to_a
- returns a list of [key, value] pairs with same order as each()
+- is called for Enumerable#entries
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/hash/to_hash_spec.rb
Hash#to_hash
@@ 14674 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+IO#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+IO#putc with a String argument
+- writes one character
+- writes the first character
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/puts_spec.rb
IO#puts
@@ 16218 @@
- is a private instance method
Kernel.putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel.putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel.putc with a String argument
+- writes one character
+- writes the first character
Kernel#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel#putc with a String argument
+- writes one character
+- writes the first character
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/puts_spec.rb
Kernel#puts
@@ 16868 @@
- dumps a 'a'..'b'
- dumps a Fixnum 0
+Marshal.dump for an Integer
+- dumps an Integer 8
+- dumps and Integer -8
+- dumps an Integer 1234
+- dumps an Integer -1234
+- dumps an Integer 4611686018427387903
+- dumps an Integer -4611686018427387903
+- dumps an Integer 2361183241434822606847
+- dumps an Integer -2361183241434822606847
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/marshal/load_spec.rb
Marshal::load
- raises an ArgumentError when the dumped data is truncated
+- raises an ArgumentError when the dumped class is missing
- ignores the value of the proc when called with a proc
- doesn't call the proc for recursively visited data
- loads a array containing objects having _dump method, and with proc
@@ 16945 @@
- loads a 'a'..'b'
- loads a Fixnum 0
+Marshal::load for an Array
- loads a array containing the same objects
- loads an array having ivar
+Marshal::load for a Hash
- loads an extended_user_hash with a parameter to initialize
- preserves hash ivars when hash contains a string having ivar
+Marshal::load for a String
- loads a string having ivar with ref to self
+Marshal::load for a Struct
- loads a extended_struct having fields with same objects
- loads a struct having ivar
- loads a struct having fields
+Marshal::load for a user Class
- loads a user-marshaled extended object
- loads a user_object
- loads a object
- loads an extended Object
- loads a object having ivar
+Marshal::load for a Regexp
- loads an extended Regexp
- loads a extended_user_regexp having ivar
+Marshal::load for a Float
- loads a Float NaN
- loads a Float 1.3
- loads a Float -5.1867345e-22
- loads a Float 1.1867345e+22
+Marshal::load for a Integer
+- loads an Integer 8
+- loads and Integer -8
+- loads an Integer 1234
+- loads an Integer -1234
+- loads an Integer 4611686018427387903
+- loads an Integer -4611686018427387903
+- loads an Integer 2361183241434822606847
+- loads an Integer -2361183241434822606847
+- roundtrips 4611686018427387903 from dump/load correctly
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/marshal/restore_spec.rb
Marshal.restore
@@ 17801 @@
- preserves ancestor order
- detects cyclic includes
- accepts no-arguments
+- returns the class it's included into
- ignores modules it has already included via module mutual inclusion
- clears any caches
@@ 19490 @@
- modifies self in place and returns self
- returns nil if no modifications were made
- raises a TypeError when self is frozen
+- does raise an exception when no change would be done and no argument is passed in
+- does not raise an exception when no change would be done and no argument is passed in on an empty string
- does not raise an exception when the string would not be modified
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/chop_spec.rb
@@ 23712 @@
- or/and have higher precedence than if unless while until modifiers
- if unless while until are non-associative
+/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/predefined/data_spec.rb
+The DATA constant
+- exists when the main script contains __END__
+- does not exist when the main script contains no __END__
+- does not exist when an included file has a __END__
+- does not change when an included files also has a __END__
+- is included in an otherwise empty file
- succeeds in locking the file DATA came from
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/predefined_spec.rb
@@ 24758 @@
- coerces arguments to BigDecimal if possible
- raises TypeError if the argument cannot be coerced to BigDecimal
+/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/bigdecimal/round_spec.rb
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/bigdecimal/sign_spec.rb
BigDecimal#sign
- BigDecimal defines several constants for signs
@@ 27874 @@
- raises an ArgumentError when called on a closed converter
- when given a string or string-like parameter returns a converted version of it
- keeps context between calls
+- when given a start and end position returns the substring
- when given a negative start position counts from the end of string
- when the end parameter is omitted or nil goes until the end of the string
- when given a positive length
@@ 36558 @@
- calls to_int on start and length arguments
- removes and return elements in range
- calls to_int on range arguments
+- returns last element for consecutive calls at zero index
- does not expand array with indices out of bounds
- does not expand array with negative indices out of bounds
- raises a TypeError on a frozen array
@@ 36617 @@
Finished in <t> seconds
+1 file, 57 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/array/sort_by_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/sort_by_spec.rb
ruby <version>
@@ 38611 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.[]
- matches multiple recursives
@@ 38727 @@
- accepts string sets with empty strings with {<string>,,<other>}
- matches dot or non-dotfiles with '{,.}*'
- respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
- matches special characters by escaping with a backslash with '\<character>'
- recursively matches directories with '**/<characters>'
- preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
Dir.glob
- matches multiple recursives
@@ 38742 @@
- matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
- matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
- matches any files in the current directory with '**' and option File::FNM_DOTMATCH
+- recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
- recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
- accepts a block and yields it with each elements
- matches the literal character '\' with option File::FNM_NOESCAPE
@@ 39733 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 39816 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 42994 @@
- raises a TypeError if not passed an Integer type for the second argument
File#truncate
+- does not move the file write pointer to the specified byte offset
+- does not move the file read pointer to the specified byte offset
- truncates a file
- truncates a file size to 0
- truncates a file size to 5
@@ 45635 @@
Hash#reject
- is equivalent to hsh.dup.delete_if
- returns subclass instance for subclasses
+- taints the resulting hash
- processes entries with the same order as reject!
- returns an Enumerator if called on a non-empty hash without a block
- returns an Enumerator if called on an empty hash without a block
@@ 45750 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/hash/to_a_spec.rb
Hash#to_a
- returns a list of [key, value] pairs with same order as each()
+- is called for Enumerable#entries
Finished in <t> seconds
@@ 46961 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+IO#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+IO#putc with a String argument
+- writes one character
+- writes the first character
Finished in <t> seconds
@@ 49595 @@
- is a private instance method
Kernel.putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel.putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel.putc with a String argument
+- writes one character
+- writes the first character
Kernel#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
+Kernel#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
+Kernel#putc with a String argument
+- writes one character
+- writes the first character
Finished in <t> seconds
@@ 50605 @@
- dumps a 'a'..'b'
- dumps a Fixnum 0
+Marshal.dump for an Integer
+- dumps an Integer 8
+- dumps and Integer -8
+- dumps an Integer 1234
+- dumps an Integer -1234
+- dumps an Integer 4611686018427387903
+- dumps an Integer -4611686018427387903
+- dumps an Integer 2361183241434822606847
+- dumps an Integer -2361183241434822606847
Finished in <t> seconds
+1 file, 91 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/load_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/marshal/load_spec.rb
ruby <version>
@@ 50626 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/marshal/load_spec.rb
Marshal::load
- raises an ArgumentError when the dumped data is truncated
+- raises an ArgumentError when the dumped class is missing
- ignores the value of the proc when called with a proc
- doesn't call the proc for recursively visited data
- loads a array containing objects having _dump method, and with proc
@@ 50690 @@
- loads a 'a'..'b'
- loads a Fixnum 0
+Marshal::load for an Array
- loads a array containing the same objects
- loads an array having ivar
+Marshal::load for a Hash
- loads an extended_user_hash with a parameter to initialize
- preserves hash ivars when hash contains a string having ivar
+Marshal::load for a String
- loads a string having ivar with ref to self
+Marshal::load for a Struct
- loads a extended_struct having fields with same objects
- loads a struct having ivar
- loads a struct having fields
+Marshal::load for a user Class
- loads a user-marshaled extended object
- loads a user_object
- loads a object
- loads an extended Object
- loads a object having ivar
+Marshal::load for a Regexp
- loads an extended Regexp
- loads a extended_user_regexp having ivar
+Marshal::load for a Float
- loads a Float NaN
- loads a Float 1.3
- loads a Float -5.1867345e-22
- loads a Float 1.1867345e+22
+Marshal::load for a Integer
+- loads an Integer 8
+- loads and Integer -8
+- loads an Integer 1234
+- loads an Integer -1234
+- loads an Integer 4611686018427387903
+- loads an Integer -4611686018427387903
+- loads an Integer 2361183241434822606847
+- loads an Integer -2361183241434822606847
+- roundtrips 4611686018427387903 from dump/load correctly
Finished in <t> seconds
+1 file, 92 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/restore_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/marshal/restore_spec.rb
ruby <version>
@@ 52419 @@
- preserves ancestor order
- detects cyclic includes
- accepts no-arguments
+- returns the class it's included into
- ignores modules it has already included via module mutual inclusion
- clears any caches
@@ 56939 @@
- modifies self in place and returns self
- returns nil if no modifications were made
- raises a TypeError when self is frozen
+- does raise an exception when no change would be done and no argument is passed in
+- does not raise an exception when no change would be done and no argument is passed in on an empty string
- does not raise an exception when the string would not be modified
@@ 64247 @@
Finished in <t> seconds
1 file, 32 examples, <num> expectations, 0 failures, 0 errors
+== rubyspec/language/predefined/data_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/language/predefined/data_spec.rb
ruby <version>
+/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/predefined/data_spec.rb
+The DATA constant
+- exists when the main script contains __END__
+- does not exist when the main script contains no __END__
+- does not exist when an included file has a __END__
+- does not change when an included files also has a __END__
+- is included in an otherwise empty file
- succeeds in locking the file DATA came from
@@ 64412 @@
Finished in <t> seconds
+1 file, 91 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/language/private_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/language/private_spec.rb
ruby <version>
@@ 66488 @@
Finished in <t> seconds
1 file, 8 examples, <num> expectations, 0 failures, 0 errors
+== rubyspec/library/bigdecimal/round_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/library/bigdecimal/round_spec.rb
ruby <version>
+/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/bigdecimal/round_spec.rb
Finished in <t> seconds
@@ 73884 @@
- raises an ArgumentError when called on a closed converter
- when given a string or string-like parameter returns a converted version of it
- keeps context between calls
+- when given a start and end position returns the substring
- when given a negative start position counts from the end of string
- when the end parameter is omitted or nil goes until the end of the string
- when given a positive length
@@ 85934 @@
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
+TCPSocket.new with a running server
+- connects to a listening server with host and port
+- connects to a server when passed local_host argument
+- connects to a server when passed local_host and local_port arguments
- has an address once it has connected to a listening server
@@ 85953 @@
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
+TCPSocket.open with a running server
+- connects to a listening server with host and port
+- connects to a server when passed local_host argument
+- connects to a server when passed local_host and local_port arguments
- has an address once it has connected to a listening server
@@ 85976 @@
Finished in <t> seconds
1 file, 2 examples, <num> expectations, 0 failures, 0 errors
+== rubyspec/library/socket/tcpsocket/recv_nonblock_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/library/socket/tcpsocket/recv_nonblock_spec.rb
ruby <version>
+/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/socket/tcpsocket/recv_nonblock_spec.rb
+TCPSocket#recv_nonblock
+- returns a String read from the socket
Finished in <t> seconds
@@ 89752 @@
- works on complex keys
- loads a symbol key that contains spaces
+YAML.load with iso8601 timestamp
+- computes the microseconds
Finished in <t> seconds
@@ 90757 @@
C-API Array function rb_ary_reverse
- reverses the order of elements in the array
+- returns the original array
C-API Array function rb_ary_entry
- returns nil when passed an empty array
@@ 90846 @@
- returns nil if the index is out of bounds
- returns nil if the negative index is out of bounds
+C-API Array function rb_ary_to_ary with an array
+- returns the given array
+C-API Array function rb_ary_to_ary with an object that responds to to_ary
+- calls to_ary on the object
+C-API Array function rb_ary_to_ary with an object that responds to to_a
+- returns the original object in an array
+C-API Array function rb_ary_to_ary with an object that doesn't respond to to_ary
+- returns the original object in an array
Finished in <t> seconds
+1 file, 64 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/optional/capi/bignum_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/optional/capi/bignum_spec.rb
ruby <version>
@@ 91181 @@
C-API IO function rb_io_check_readable
- does not raise an exception if the IO is opened for reading
+- does not raise an exception if the IO is opened for read and write
- raises an IOError if the IO is not opened for reading
C-API IO function rb_io_check_writable
- does not raise an exeption if the IO is opened for writing
+- does not raise an exception if the IO is opened for read and write
- raises an IOError if the IO is not opened for reading
C-API IO function rb_io_wait_writeable
@@ 91353 @@
CApiModule rb_define_alias
- defines an alias for an existing method
+CApiModule rb_alias
- defines an alias for an existing method
CApiModule rb_define_global_function
@@ 91787 @@
C-API Struct function rb_struct_aref
- returns the value of a struct member with a symbol key
+- returns the value of a struct member with a string key
- returns the value of a struct member by index
- raises a NameError if the struct member does not exist
+C-API Struct function rb_struct_getmember
+- returns the value of a struct member
- raises a NameError if the struct member does not exist
C-API Struct function rb_struct_aset
===================================================================
--- 20110410T212640Z
@@ 11516 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/inject_spec.rb
@@ 11558 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/min_by_spec.rb
@@ 14311 @@
- is defined
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/copy_stream_spec.rb
-/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/data/data_spec.rb
-DATA
-- presents $0 file data after __END__ as a File object
-DATA
-- may be included in an empty script
-/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/data/flock_spec.rb
-DATA.flock
- succeeds in locking the file DATA came from
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/dup_spec.rb
@@ 14672 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
- raises IOError on closed stream
-- writes the first byte of a String
-- calls #to_int on a non-Integer and writes the first byte of the value
-- writes a Numeric that fits in a byte
-- write the first byte of a Numeric that does not fit in a byte
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/puts_spec.rb
IO#puts
@@ 16753 @@
- raises an Error when the IO-Object does not respond to #write
- raises an ArgumentError when given more than three arguments
- raises an Error when trying to dump an anonymous class/module
-- invokes respond_to? for marshal_dump and _dump on user classes
-- attempts to invoke marshal_dump if respond_to? :marshal_dump is true
-- attempts to invoke _dump if respond_to? :_dump is true
- raises a TypeError if _dump returns a non-string
- dumps an Object
- dumps an extended_object
@@ 16838 @@
- loads a extended_struct having fields with same objects
- loads a string having ivar with ref to self
- loads an extended_user_hash with a parameter to initialize
-- invokes respond_to? for marshal_load when the stream needs marshal_load
-- invokes respond_to? for _load when the stream needs _load
- loads a user-marshaled extended object
- loads a user_object
- loads a object
@@ 16920 @@
- returns a tainted object if source is tainted
- preserves taintedness of nested structure
-Marshal.load
- needs to be reviewed for spec completeness
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/marshal/restore_spec.rb
@@ 23731 @@
- raises a SyntaxError if assigned to
The predefined global constants
-- includes DATA when main script contains __END__
-- does not include DATA when main script contains no __END__
- includes TRUE
- includes FALSE
- includes NIL
@@ 39647 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/include_spec.rb
Enumerable#include?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 39729 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/enumerable/member_spec.rb
Enumerable#member?
-- returns true if any element == argument
- returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
@@ 46228 @@
Finished in <t> seconds
1 file, 0 examples, <num> expectations, 0 failures, 0 errors
-== rubyspec/core/io/data/data_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/io/data/data_spec.rb
ruby <version>
-/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/data/data_spec.rb
-DATA
-- presents $0 file data after __END__ as a File object
-DATA
-- may be included in an empty script
Finished in <t> seconds
1 file, 2 examples, <num> expectations, 0 failures, 0 errors
-== rubyspec/core/io/data/flock_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/io/data/flock_spec.rb
ruby <version>
-/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/data/flock_spec.rb
-DATA.flock
- succeeds in locking the file DATA came from
@@ 46897 @@
/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/io/putc_spec.rb
IO#putc
- raises IOError on closed stream
-- writes the first byte of a String
-- calls #to_int on a non-Integer and writes the first byte of the value
-- writes a Numeric that fits in a byte
-- write the first byte of a Numeric that does not fit in a byte
Finished in <t> seconds
@@ 50428 @@
- raises an Error when the IO-Object does not respond to #write
- raises an ArgumentError when given more than three arguments
- raises an Error when trying to dump an anonymous class/module
-- invokes respond_to? for marshal_dump and _dump on user classes
-- attempts to invoke marshal_dump if respond_to? :marshal_dump is true
-- attempts to invoke _dump if respond_to? :_dump is true
- raises a TypeError if _dump returns a non-string
- dumps an Object
- dumps an extended_object
@@ 50511 @@
Finished in <t> seconds
-1 file, 86 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/load_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/marshal/load_spec.rb
ruby <version>
@@ 50521 @@
- loads a extended_struct having fields with same objects
- loads a string having ivar with ref to self
- loads an extended_user_hash with a parameter to initialize
-- invokes respond_to? for marshal_load when the stream needs marshal_load
-- invokes respond_to? for _load when the stream needs _load
- loads a user-marshaled extended object
- loads a user_object
- loads a object
@@ 50603 @@
- returns a tainted object if source is tainted
- preserves taintedness of nested structure
-Marshal.load
- needs to be reviewed for spec completeness
Finished in <t> seconds
-1 file, 84 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/core/marshal/restore_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/marshal/restore_spec.rb
ruby <version>
@@ 64208 @@
- raises a SyntaxError if assigned to
The predefined global constants
-- includes DATA when main script contains __END__
-- does not include DATA when main script contains no __END__
- includes TRUE
- includes FALSE
- includes NIL
@@ 64266 @@
Finished in <t> seconds
-1 file, 93 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/language/private_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/language/private_spec.rb
ruby <version>
@@ 85777 @@
TCPSocket.new
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
-- connects to a listening server
- has an address once it has connected to a listening server
@@ 85792 @@
TCPSocket.open
- requires a hostname and a port as arguments
- refuses the connection when there is no server to connect to
-- connects to a listening server
- has an address once it has connected to a listening server
@@ 90669 @@
Finished in <t> seconds
-1 file, 59 examples, <num> expectations, 0 failures, 0 errors
== rubyspec/optional/capi/bignum_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/optional/capi/bignum_spec.rb
ruby <version>
OlderDiff < 20110410T212640Z < ThisDiff > 20110414T014050Z > NewerDiff