Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add RubySpec tags for acceptable failures
  • Loading branch information
marcandre committed Mar 5, 2013
1 parent 7c17d22 commit 5c15af9
Show file tree
Hide file tree
Showing 93 changed files with 282 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tags/1.8.6/core/array/rotate_spec.rb
@@ -0,0 +1,2 @@
fails:Array#rotate returns subclass instance for Array subclasses
fails:Array#rotate! raises a RuntimeError on a frozen array
3 changes: 3 additions & 0 deletions tags/1.8.6/core/array/uniq_spec.rb
@@ -0,0 +1,3 @@
fails:Array#uniq! raises a RuntimeError on a frozen array when the array is modified
fails:Array#uniq! raises a RuntimeError on a frozen array when the array would not be modified
fails:Array#uniq! doesn't yield to the block on a frozen array
3 changes: 3 additions & 0 deletions tags/1.8.6/core/complex/to_r_spec.rb
@@ -0,0 +1,3 @@
fails:Complex#to_r when the imaginary part is Fixnum 0 returns the result of sending #to_r to the real part
fails:Complex#to_r when the imaginary part is Rational 0 returns the result of sending #to_r to the real part
fails:Complex#to_r when the imaginary part responds to #== 0 with true returns the result of sending #to_r to the real part
1 change: 1 addition & 0 deletions tags/1.8.6/core/enumerable/each_entry_spec.rb
@@ -0,0 +1 @@
fails:Enumerable#each_entry passes through the values yielded by #each_with_index
1 change: 1 addition & 0 deletions tags/1.8.6/core/enumerator/next_spec.rb
@@ -0,0 +1 @@
fails:Enumerator#next is rewound after encountering a StopIteration
2 changes: 2 additions & 0 deletions tags/1.8.6/core/env/to_h_spec.rb
@@ -0,0 +1,2 @@
fails:ENV.to_hash uses the locale encoding for keys
fails:ENV.to_hash uses the locale encoding for values
3 changes: 3 additions & 0 deletions tags/1.8.6/core/file/join_spec.rb
@@ -0,0 +1,3 @@
fails:File.join flattens nested arrays
fails:File.join inserts the separator in between empty strings and arrays
fails:File.join raises an ArgumentError if passed a recursive array
2 changes: 2 additions & 0 deletions tags/1.8.6/core/file/lchmod_spec.rb
@@ -0,0 +1,2 @@
fails:File.lchmod returns false from #respond_to?
fails:File.lchmod raises a NotImplementedError when called
2 changes: 2 additions & 0 deletions tags/1.8.6/core/file/new_spec.rb
@@ -0,0 +1,2 @@
fails:File.new returns a new File when use File::APPEND mode
fails:File.new returns a new File when use File::RDONLY|File::APPEND mode
10 changes: 10 additions & 0 deletions tags/1.8.6/core/file/open_spec.rb
@@ -0,0 +1,10 @@
fails:File.open on a FIFO opens it as a normal file
fails:File.open opens file when call with a block (basic case)
fails:File.open opens a file with mode string and block
fails:File.open opens a file with mode num and block
fails:File.open opens the file when passed mode, num, permissions and block
fails:File.open opens the file when call with fd
fails:File.open opens a file with a file descriptor d and a block
fails:File.open raises a SystemCallError if passed an invalid Integer type
fails:File.open raises an IOError when read in a block opened with File::RDONLY|File::APPEND mode
fails:File.open raises an IOError if the file exists when open with File::RDONLY|File::APPEND
1 change: 1 addition & 0 deletions tags/1.8.6/core/file/to_path_spec.rb
@@ -0,0 +1 @@
fails:File#to_path preserves the encoding of the path
1 change: 1 addition & 0 deletions tags/1.8.6/core/fixnum/fdiv_spec.rb
@@ -0,0 +1 @@
fails:Fixnum#fdiv follows the coercion protocol
2 changes: 2 additions & 0 deletions tags/1.8.6/core/gc/stress_spec.rb
@@ -0,0 +1,2 @@
fails:GC.stress returns current status of GC stress mode
fails:GC.stress= sets the stress mode
1 change: 1 addition & 0 deletions tags/1.8.6/core/hash/assoc_spec.rb
@@ -0,0 +1 @@
fails:Hash#assoc only returns the first matching key-value pair for identity hashes
2 changes: 2 additions & 0 deletions tags/1.8.6/core/hash/default_proc_spec.rb
@@ -0,0 +1,2 @@
fails:Hash#default_proc= raises an error if passed nil
fails:Hash#default_proc= raises a TypeError if passed a lambda with an arity other than 2
3 changes: 3 additions & 0 deletions tags/1.8.6/core/hash/eql_spec.rb
@@ -0,0 +1,3 @@
fails:Hash#eql? computes equality for recursive hashes
fails:Hash#eql? computes equality for complex recursive hashes
fails:Hash#eql? computes equality for recursive hashes & arrays
3 changes: 3 additions & 0 deletions tags/1.8.6/core/hash/hash_spec.rb
@@ -0,0 +1,3 @@
fails:Hash#hash generates a hash for recursive hash structures
fails:Hash#hash returns the same hash for recursive hashes
fails:Hash#hash returns the same hash for recursive hashes through arrays
1 change: 1 addition & 0 deletions tags/1.8.6/core/hash/keep_if_spec.rb
@@ -0,0 +1 @@
fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
1 change: 1 addition & 0 deletions tags/1.8.6/core/hash/select_spec.rb
@@ -0,0 +1 @@
fails:Hash#select returns a Hash of entries for which block is true
1 change: 1 addition & 0 deletions tags/1.8.6/core/integer/round_spec.rb
@@ -0,0 +1 @@
fails:Integer#round raises a RangeError when passed Float::INFINITY
7 changes: 7 additions & 0 deletions tags/1.8.6/core/io/binread_spec.rb
@@ -0,0 +1,7 @@
fails:IO.binread reads the contents of a file
fails:IO.binread reads the contents of a file up to a certain size when specified
fails:IO.binread reads the contents of a file from an offset of a specific size when specified
fails:IO.binread returns a String in ASCII-8BIT encoding
fails:IO.binread returns a String in ASCII-8BIT encoding regardless of Encoding.default_internal
fails:IO.binread raises an ArgumentError when not passed a valid length
fails:IO.binread raises an Errno::EINVAL when not passed a valid offset
1 change: 1 addition & 0 deletions tags/1.8.6/core/io/chars_spec.rb
@@ -0,0 +1 @@
fails:IO#chars yields each character
1 change: 1 addition & 0 deletions tags/1.8.6/core/io/each_char_spec.rb
@@ -0,0 +1 @@
fails:IO#each_char yields each character
1 change: 1 addition & 0 deletions tags/1.8.6/core/io/lines_spec.rb
@@ -0,0 +1 @@
fails:IO#lines ignores a given block
24 changes: 24 additions & 0 deletions tags/1.8.6/core/io/open_spec.rb
@@ -0,0 +1,24 @@
fails:IO.open uses the external encoding specified in the mode argument
fails:IO.open uses the external and the internal encoding specified in the mode argument
fails:IO.open uses the external encoding specified via the :external_encoding option
fails:IO.open uses the internal encoding specified via the :internal_encoding option
fails:IO.open uses the colon-separated encodings specified via the :encoding option
fails:IO.open ingores the :encoding option when the :external_encoding option is present
fails:IO.open ingores the :encoding option when the :internal_encoding option is present
fails:IO.open uses the encoding specified via the :mode option hash
fails:IO.open ignores the :internal_encoding option when the same as the external encoding
fails:IO.open sets internal encoding to nil when passed '-'
fails:IO.open sets binmode from mode string
fails:IO.open does not set binmode without being asked
fails:IO.open sets binmode from :binmode option
fails:IO.open does not set binmode from false :binmode
fails:IO.open raises an error if passed binary/text mode two ways
fails:IO.open sets external encoding to binary with binmode in mode string
fails:IO.open sets external encoding to binary with :binmode option
fails:IO.open does not use binary encoding when mode encoding is specified
fails:IO.open does not use binary encoding when :encoding option is specified
fails:IO.open does not use binary encoding when :external_encoding option is specified
fails:IO.open does not use binary encoding when :internal_encoding option is specified
fails:IO.open coerces mode with #to_int
fails:IO.open coerces options as second argument with #to_hash
fails:IO.open raises ArgumentError if not passed a hash or nil for options
4 changes: 4 additions & 0 deletions tags/1.8.6/core/io/ungetbyte_spec.rb
@@ -0,0 +1,4 @@
fails:IO#ungetbyte does nothing when passed nil
fails:IO#ungetbyte puts back each byte in a String argument
fails:IO#ungetbyte calls #to_str to convert the argument
fails:IO#ungetbyte puts back one byte for an Integer argument
3 changes: 3 additions & 0 deletions tags/1.8.6/core/io/write_spec.rb
@@ -0,0 +1,3 @@
fails:IO.write uses encoding from given options, if provided
fails:IO.write uses an :open_args option
fails:IO.write disregards other options if :open_args is given
5 changes: 5 additions & 0 deletions tags/1.8.6/core/kernel/__callee___spec.rb
@@ -0,0 +1,5 @@
fails:Kernel.__callee__ returns the current method, even when aliased
fails:Kernel.__callee__ returns the original name when aliased method
fails:Kernel.__callee__ returns the caller from blocks too
fails:Kernel.__callee__ returns nil when not called from a method
fails:Kernel.__callee__ returns the caller when sent as a string
1 change: 1 addition & 0 deletions tags/1.8.6/core/kernel/__method___spec.rb
@@ -0,0 +1 @@
fails:Kernel.__method__ returns the original name when aliased method
2 changes: 2 additions & 0 deletions tags/1.8.6/core/kernel/define_singleton_method_spec.rb
@@ -0,0 +1,2 @@
fails:Kernel#define_singleton_method when given an UnboundMethod defines any Child class method from any Parent's class methods
fails:Kernel#define_singleton_method when given an UnboundMethod will raise when attempting to define an object's singleton method from another object's singleton method
2 changes: 2 additions & 0 deletions tags/1.8.6/core/kernel/public_method_spec.rb
@@ -0,0 +1,2 @@
fails:Kernel#public_method returns a method object if we repond_to_missing? method
fails:Kernel#public_method changes the method called for super on a target aliased method
4 changes: 4 additions & 0 deletions tags/1.8.6/core/math/log2_spec.rb
@@ -0,0 +1,4 @@
fails:Math.log2 raises an Errno::EDOM if the argument is less than 0
fails:Math.log2 raises an TypeError if the argument cannot be coerced with Float()
fails:Math.log2 raises an TypeError if passed a numerical argument as a string
fails:Math.log2 returns NaN given NaN
3 changes: 3 additions & 0 deletions tags/1.8.6/core/math/log_spec.rb
@@ -0,0 +1,3 @@
fails:Math.log raises a TypeError if the argument cannot be coerced with Float()
fails:Math.log raises a TypeError for numerical values passed as string
fails:Math.log returns NaN given NaN
2 changes: 2 additions & 0 deletions tags/1.8.6/core/module/class_exec_spec.rb
@@ -0,0 +1,2 @@
fails:Module#class_exec defines method in the receiver's scope
fails:Module#class_exec raises an LocalJumpError when no block is given
2 changes: 2 additions & 0 deletions tags/1.8.6/core/module/module_exec_spec.rb
@@ -0,0 +1,2 @@
fails:Module#module_exec defines method in the receiver's scope
fails:Module#module_exec raises an LocalJumpError when no block is given
12 changes: 12 additions & 0 deletions tags/1.8.6/core/numeric/step_spec.rb
@@ -0,0 +1,12 @@
fails:Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float is careful about not yielding a value greater than limit
fails:Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float is careful about not yielding a value smaller than limit
fails:Numeric#step Numeric#step with [stop, +Infinity] yields once if self < stop
fails:Numeric#step Numeric#step with [stop, +Infinity] yields once when stop is Infinity
fails:Numeric#step Numeric#step with [stop, +Infinity] yields once when self equals stop
fails:Numeric#step Numeric#step with [stop, +Infinity] yields once when self and stop are Infinity
fails:Numeric#step Numeric#step with [stop, +Infinity] does not yield when self > stop
fails:Numeric#step Numeric#step with [stop, -infinity] yields once if self > stop
fails:Numeric#step Numeric#step with [stop, -infinity] yields once if stop is -Infinity
fails:Numeric#step Numeric#step with [stop, -infinity] yields once when self equals stop
fails:Numeric#step Numeric#step with [stop, -infinity] yields once when self and stop are Infinity
fails:Numeric#step Numeric#step with [stop, -infinity] does not yield when self > stop
4 changes: 4 additions & 0 deletions tags/1.8.6/core/proc/curry_spec.rb
@@ -0,0 +1,4 @@
fails:Proc#curry produces Procs that raise ArgumentError for #binding
fails:Proc#curry produces Procs that return [[:rest]] for #parameters
fails:Proc#curry produces Procs that return nil for #source_location
fails:Proc#curry produces Procs that can be passed as the block for instance_exec
12 changes: 12 additions & 0 deletions tags/1.8.6/core/range/step_spec.rb
@@ -0,0 +1,12 @@
fails:Range#step with inclusive end and Integer values yields Float values incremented by a Float step
fails:Range#step with inclusive end and Float values returns Float values of 'step * n + begin <= end'
fails:Range#step with inclusive end and Integer, Float values yields Float values incremented by 1 and less than or equal to end when not passed a step
fails:Range#step with inclusive end and Integer, Float values yields Float values incremented by an Integer step
fails:Range#step with inclusive end and Integer, Float values yields Float values incremented by a Float step
fails:Range#step with inclusive end and String values raises a TypeError when passed a Float step
fails:Range#step with exclusive end and Integer values yields Float values incremented by a Float step
fails:Range#step with exclusive end and Float values returns Float values of 'step * n + begin < end'
fails:Range#step with exclusive end and Integer, Float values yields Float values incremented by 1 and less than end when not passed a step
fails:Range#step with exclusive end and Integer, Float values yields Float values incremented by an Integer step
fails:Range#step with exclusive end and Integer, Float values yields an Float and then Float values incremented by a Float step
fails:Range#step with exclusive end and String values raises a TypeError when passed a Float step
6 changes: 6 additions & 0 deletions tags/1.8.6/core/string/getbyte_spec.rb
@@ -0,0 +1,6 @@
fails:String#getbyte returns an Integer between 0 and 255
fails:String#getbyte regards a multi-byte character as having multiple bytes
fails:String#getbyte mirrors the output of #bytes
fails:String#getbyte interprets bytes relative to the String's encoding
fails:String#getbyte raises an ArgumentError unless given one argument
fails:String#getbyte raises a TypeError unless its argument can be coerced into an Integer
1 change: 1 addition & 0 deletions tags/1.8.6/core/string/partition_spec.rb
@@ -0,0 +1 @@
fails:String#partition with String sets global vars if regexp used
1 change: 1 addition & 0 deletions tags/1.8.6/core/string/prepend_spec.rb
@@ -0,0 +1 @@
fails:String#prepend raises a RuntimeError when self if frozen
1 change: 1 addition & 0 deletions tags/1.8.6/core/string/rpartition_spec.rb
@@ -0,0 +1 @@
fails:String#rpartition with String affects $~
5 changes: 5 additions & 0 deletions tags/1.8.6/core/string/setbyte_spec.rb
@@ -0,0 +1,5 @@
fails:String#setbyte allows changing bytes in multi-byte characters
fails:String#setbyte can invalidate a String's encoding
fails:String#setbyte sets a byte at an index greater than String size
fails:String#setbyte raises a RuntimeError if self is frozen
fails:String#setbyte raises a TypeError unless the second argument is an Integer
1 change: 1 addition & 0 deletions tags/1.8.6/core/string/upto_spec.rb
@@ -0,0 +1 @@
fails:String#upto raises a LocalJumpError if other is a string but no block was given
3 changes: 3 additions & 0 deletions tags/1.8.6/core/symbol/capitalize_spec.rb
@@ -0,0 +1,3 @@
fails:Symbol#capitalize leaves the first character alone if it is not an alphabetical ASCII character
fails:Symbol#capitalize leaves uppercase Unicode characters as they were
fails:Symbol#capitalize leaves lowercase Unicode characters as they were
1 change: 1 addition & 0 deletions tags/1.8.6/core/symbol/comparison_spec.rb
@@ -0,0 +1 @@
fails:Symbol#<=> with Symbol compares individual characters based on their ascii value
2 changes: 2 additions & 0 deletions tags/1.8.6/core/symbol/downcase_spec.rb
@@ -0,0 +1,2 @@
fails:Symbol#downcase leaves lowercase Unicode characters as they were
fails:Symbol#downcase leaves uppercase Unicode characters as they were
2 changes: 2 additions & 0 deletions tags/1.8.6/core/symbol/element_reference_spec.rb
@@ -0,0 +1,2 @@
fails:Symbol#[] with a Regex slice without a capture index sets $~ to the MatchData if there is a match
fails:Symbol#[] with a Regex slice with a capture index sets $~ to the MatchData if there is a match
1 change: 1 addition & 0 deletions tags/1.8.6/core/symbol/empty_spec.rb
@@ -0,0 +1 @@
fails:Symbol#empty? returns true if self is empty
2 changes: 2 additions & 0 deletions tags/1.8.6/core/symbol/match_spec.rb
@@ -0,0 +1,2 @@
fails:Symbol#=~ sets the last match pseudo-variables
fails:Symbol#match sets the last match pseudo-variables
2 changes: 2 additions & 0 deletions tags/1.8.6/core/symbol/swapcase_spec.rb
@@ -0,0 +1,2 @@
fails:Symbol#swapcase leaves uppercase Unicode characters as they were
fails:Symbol#swapcase leaves lowercase Unicode characters as they were
1 change: 1 addition & 0 deletions tags/1.8.6/core/symbol/upcase_spec.rb
@@ -0,0 +1 @@
fails:Symbol#upcase leaves lowercase Unicode characters as they were
2 changes: 2 additions & 0 deletions tags/1.8.7/core/array/rotate_spec.rb
@@ -0,0 +1,2 @@
fails:Array#rotate returns subclass instance for Array subclasses
fails:Array#rotate! raises a RuntimeError on a frozen array
3 changes: 3 additions & 0 deletions tags/1.8.7/core/array/uniq_spec.rb
@@ -0,0 +1,3 @@
fails:Array#uniq! raises a RuntimeError on a frozen array when the array is modified
fails:Array#uniq! raises a RuntimeError on a frozen array when the array would not be modified
fails:Array#uniq! doesn't yield to the block on a frozen array
3 changes: 3 additions & 0 deletions tags/1.8.7/core/complex/to_r_spec.rb
@@ -0,0 +1,3 @@
fails:Complex#to_r when the imaginary part is Fixnum 0 returns the result of sending #to_r to the real part
fails:Complex#to_r when the imaginary part is Rational 0 returns the result of sending #to_r to the real part
fails:Complex#to_r when the imaginary part responds to #== 0 with true returns the result of sending #to_r to the real part
2 changes: 2 additions & 0 deletions tags/1.8.7/core/env/to_h_spec.rb
@@ -0,0 +1,2 @@
fails:ENV.to_hash uses the locale encoding for keys
fails:ENV.to_hash uses the locale encoding for values
2 changes: 2 additions & 0 deletions tags/1.8.7/core/file/lchmod_spec.rb
@@ -0,0 +1,2 @@
fails:File.lchmod returns false from #respond_to?
fails:File.lchmod raises a NotImplementedError when called
1 change: 1 addition & 0 deletions tags/1.8.7/core/file/new_spec.rb
@@ -0,0 +1 @@
fails:File.new raises an Errno::EBADF if the first parameter is an invalid file descriptor
1 change: 1 addition & 0 deletions tags/1.8.7/core/file/open_spec.rb
@@ -0,0 +1 @@
fails:File.open on a FIFO opens it as a normal file
6 changes: 6 additions & 0 deletions tags/1.8.7/core/file/readlink_spec.rb
@@ -0,0 +1,6 @@
fails:File.readlink File.readlink with absolute paths return the name of the file referenced by the given link
fails:File.readlink File.readlink with absolute paths returns the name of the file referenced by the given link when the file does not exist
fails:File.readlink File.readlink with absolute paths raises an Errno::ENOENT if there is no such file
fails:File.readlink File.readlink with absolute paths raises an Errno::EINVAL if called with a normal file
fails:File.readlink File.readlink when changing the working directory returns the name of the file referenced by the given link
fails:File.readlink File.readlink when changing the working directory returns the name of the file referenced by the given link when the file does not exist
1 change: 1 addition & 0 deletions tags/1.8.7/core/file/to_path_spec.rb
@@ -0,0 +1 @@
fails:File#to_path preserves the encoding of the path
1 change: 1 addition & 0 deletions tags/1.8.7/core/hash/assoc_spec.rb
@@ -0,0 +1 @@
fails:Hash#assoc only returns the first matching key-value pair for identity hashes
2 changes: 2 additions & 0 deletions tags/1.8.7/core/hash/default_proc_spec.rb
@@ -0,0 +1,2 @@
fails:Hash#default_proc= raises an error if passed nil
fails:Hash#default_proc= raises a TypeError if passed a lambda with an arity other than 2
1 change: 1 addition & 0 deletions tags/1.8.7/core/hash/keep_if_spec.rb
@@ -0,0 +1 @@
fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
1 change: 1 addition & 0 deletions tags/1.8.7/core/hash/rassoc_spec.rb
@@ -0,0 +1 @@
fails:Hash#rassoc only returns the first matching key-value pair
1 change: 1 addition & 0 deletions tags/1.8.7/core/hash/select_spec.rb
@@ -0,0 +1 @@
fails:Hash#select returns a Hash of entries for which block is true
1 change: 1 addition & 0 deletions tags/1.8.7/core/integer/round_spec.rb
@@ -0,0 +1 @@
fails:Integer#round raises a RangeError when passed Float::INFINITY
7 changes: 7 additions & 0 deletions tags/1.8.7/core/io/binread_spec.rb
@@ -0,0 +1,7 @@
fails:IO.binread reads the contents of a file
fails:IO.binread reads the contents of a file up to a certain size when specified
fails:IO.binread reads the contents of a file from an offset of a specific size when specified
fails:IO.binread returns a String in ASCII-8BIT encoding
fails:IO.binread returns a String in ASCII-8BIT encoding regardless of Encoding.default_internal
fails:IO.binread raises an ArgumentError when not passed a valid length
fails:IO.binread raises an Errno::EINVAL when not passed a valid offset
25 changes: 25 additions & 0 deletions tags/1.8.7/core/io/open_spec.rb
@@ -0,0 +1,25 @@
fails:IO.open uses the external encoding specified in the mode argument
fails:IO.open uses the external and the internal encoding specified in the mode argument
fails:IO.open uses the external encoding specified via the :external_encoding option
fails:IO.open uses the internal encoding specified via the :internal_encoding option
fails:IO.open uses the colon-separated encodings specified via the :encoding option
fails:IO.open ingores the :encoding option when the :external_encoding option is present
fails:IO.open ingores the :encoding option when the :internal_encoding option is present
fails:IO.open uses the encoding specified via the :mode option hash
fails:IO.open ignores the :internal_encoding option when the same as the external encoding
fails:IO.open sets internal encoding to nil when passed '-'
fails:IO.open raises an error if passed encodings two ways
fails:IO.open sets binmode from mode string
fails:IO.open does not set binmode without being asked
fails:IO.open sets binmode from :binmode option
fails:IO.open does not set binmode from false :binmode
fails:IO.open sets external encoding to binary with binmode in mode string
fails:IO.open does not use binary encoding when mode encoding is specified
fails:IO.open does not use binary encoding when :encoding option is specified
fails:IO.open does not use binary encoding when :external_encoding option is specified
fails:IO.open does not use binary encoding when :internal_encoding option is specified
fails:IO.open coerces mode with #to_int
fails:IO.open coerces options as second argument with #to_hash
fails:IO.open raises ArgumentError if not passed a hash or nil for options
fails:IO.open sets external encoding to binary with :binmode option
fails:IO.open raises an error if passed binary/text mode two ways
4 changes: 4 additions & 0 deletions tags/1.8.7/core/io/ungetbyte_spec.rb
@@ -0,0 +1,4 @@
fails:IO#ungetbyte does nothing when passed nil
fails:IO#ungetbyte puts back each byte in a String argument
fails:IO#ungetbyte calls #to_str to convert the argument
fails:IO#ungetbyte puts back one byte for an Integer argument
3 changes: 3 additions & 0 deletions tags/1.8.7/core/io/write_spec.rb
@@ -0,0 +1,3 @@
fails:IO.write uses encoding from given options, if provided
fails:IO.write uses an :open_args option
fails:IO.write disregards other options if :open_args is given
5 changes: 5 additions & 0 deletions tags/1.8.7/core/kernel/__callee___spec.rb
@@ -0,0 +1,5 @@
fails:Kernel.__callee__ returns the current method, even when aliased
fails:Kernel.__callee__ returns the original name when aliased method
fails:Kernel.__callee__ returns the caller from blocks too
fails:Kernel.__callee__ returns nil when not called from a method
fails:Kernel.__callee__ returns the caller when sent as a string
2 changes: 2 additions & 0 deletions tags/1.8.7/core/kernel/define_singleton_method_spec.rb
@@ -0,0 +1,2 @@
fails:Kernel#define_singleton_method when given an UnboundMethod defines any Child class method from any Parent's class methods
fails:Kernel#define_singleton_method when given an UnboundMethod will raise when attempting to define an object's singleton method from another object's singleton method
1 change: 1 addition & 0 deletions tags/1.8.7/core/kernel/public_method_spec.rb
@@ -0,0 +1 @@
fails:Kernel#public_method returns a method object if we repond_to_missing? method
4 changes: 4 additions & 0 deletions tags/1.8.7/core/math/log2_spec.rb
@@ -0,0 +1,4 @@
fails:Math.log2 raises an Errno::EDOM if the argument is less than 0
fails:Math.log2 raises an TypeError if the argument cannot be coerced with Float()
fails:Math.log2 raises an TypeError if passed a numerical argument as a string
fails:Math.log2 returns NaN given NaN
3 changes: 3 additions & 0 deletions tags/1.8.7/core/math/log_spec.rb
@@ -0,0 +1,3 @@
fails:Math.log raises a TypeError if the argument cannot be coerced with Float()
fails:Math.log raises a TypeError for numerical values passed as string
fails:Math.log returns NaN given NaN
3 changes: 3 additions & 0 deletions tags/1.8.7/core/proc/curry_spec.rb
@@ -0,0 +1,3 @@
fails:Proc#curry produces Procs that raise ArgumentError for #binding
fails:Proc#curry produces Procs that return [[:rest]] for #parameters
fails:Proc#curry produces Procs that return nil for #source_location

0 comments on commit 5c15af9

Please sign in to comment.