Permalink
Browse files

Add RubySpec tags for acceptable failures

  • Loading branch information...
marcandre committed Mar 4, 2013
1 parent 7c17d22 commit 5c15af9a09c7fcd8f42edc35f01b035cd426d421
Showing with 282 additions and 0 deletions.
  1. +2 −0 tags/1.8.6/core/array/rotate_spec.rb
  2. +3 −0 tags/1.8.6/core/array/uniq_spec.rb
  3. +3 −0 tags/1.8.6/core/complex/to_r_spec.rb
  4. +1 −0 tags/1.8.6/core/enumerable/each_entry_spec.rb
  5. +1 −0 tags/1.8.6/core/enumerator/next_spec.rb
  6. +2 −0 tags/1.8.6/core/env/to_h_spec.rb
  7. +3 −0 tags/1.8.6/core/file/join_spec.rb
  8. +2 −0 tags/1.8.6/core/file/lchmod_spec.rb
  9. +2 −0 tags/1.8.6/core/file/new_spec.rb
  10. +10 −0 tags/1.8.6/core/file/open_spec.rb
  11. +1 −0 tags/1.8.6/core/file/to_path_spec.rb
  12. +1 −0 tags/1.8.6/core/fixnum/fdiv_spec.rb
  13. +2 −0 tags/1.8.6/core/gc/stress_spec.rb
  14. +1 −0 tags/1.8.6/core/hash/assoc_spec.rb
  15. +2 −0 tags/1.8.6/core/hash/default_proc_spec.rb
  16. +3 −0 tags/1.8.6/core/hash/eql_spec.rb
  17. +3 −0 tags/1.8.6/core/hash/hash_spec.rb
  18. +1 −0 tags/1.8.6/core/hash/keep_if_spec.rb
  19. +1 −0 tags/1.8.6/core/hash/select_spec.rb
  20. +1 −0 tags/1.8.6/core/integer/round_spec.rb
  21. +7 −0 tags/1.8.6/core/io/binread_spec.rb
  22. +1 −0 tags/1.8.6/core/io/chars_spec.rb
  23. +1 −0 tags/1.8.6/core/io/each_char_spec.rb
  24. +1 −0 tags/1.8.6/core/io/lines_spec.rb
  25. +24 −0 tags/1.8.6/core/io/open_spec.rb
  26. +4 −0 tags/1.8.6/core/io/ungetbyte_spec.rb
  27. +3 −0 tags/1.8.6/core/io/write_spec.rb
  28. +5 −0 tags/1.8.6/core/kernel/__callee___spec.rb
  29. +1 −0 tags/1.8.6/core/kernel/__method___spec.rb
  30. +2 −0 tags/1.8.6/core/kernel/define_singleton_method_spec.rb
  31. +2 −0 tags/1.8.6/core/kernel/public_method_spec.rb
  32. +4 −0 tags/1.8.6/core/math/log2_spec.rb
  33. +3 −0 tags/1.8.6/core/math/log_spec.rb
  34. +2 −0 tags/1.8.6/core/module/class_exec_spec.rb
  35. +2 −0 tags/1.8.6/core/module/module_exec_spec.rb
  36. +12 −0 tags/1.8.6/core/numeric/step_spec.rb
  37. +4 −0 tags/1.8.6/core/proc/curry_spec.rb
  38. +12 −0 tags/1.8.6/core/range/step_spec.rb
  39. +6 −0 tags/1.8.6/core/string/getbyte_spec.rb
  40. +1 −0 tags/1.8.6/core/string/partition_spec.rb
  41. +1 −0 tags/1.8.6/core/string/prepend_spec.rb
  42. +1 −0 tags/1.8.6/core/string/rpartition_spec.rb
  43. +5 −0 tags/1.8.6/core/string/setbyte_spec.rb
  44. +1 −0 tags/1.8.6/core/string/upto_spec.rb
  45. +3 −0 tags/1.8.6/core/symbol/capitalize_spec.rb
  46. +1 −0 tags/1.8.6/core/symbol/comparison_spec.rb
  47. +2 −0 tags/1.8.6/core/symbol/downcase_spec.rb
  48. +2 −0 tags/1.8.6/core/symbol/element_reference_spec.rb
  49. +1 −0 tags/1.8.6/core/symbol/empty_spec.rb
  50. +2 −0 tags/1.8.6/core/symbol/match_spec.rb
  51. +2 −0 tags/1.8.6/core/symbol/swapcase_spec.rb
  52. +1 −0 tags/1.8.6/core/symbol/upcase_spec.rb
  53. +2 −0 tags/1.8.7/core/array/rotate_spec.rb
  54. +3 −0 tags/1.8.7/core/array/uniq_spec.rb
  55. +3 −0 tags/1.8.7/core/complex/to_r_spec.rb
  56. +2 −0 tags/1.8.7/core/env/to_h_spec.rb
  57. +2 −0 tags/1.8.7/core/file/lchmod_spec.rb
  58. +1 −0 tags/1.8.7/core/file/new_spec.rb
  59. +1 −0 tags/1.8.7/core/file/open_spec.rb
  60. +6 −0 tags/1.8.7/core/file/readlink_spec.rb
  61. +1 −0 tags/1.8.7/core/file/to_path_spec.rb
  62. +1 −0 tags/1.8.7/core/hash/assoc_spec.rb
  63. +2 −0 tags/1.8.7/core/hash/default_proc_spec.rb
  64. +1 −0 tags/1.8.7/core/hash/keep_if_spec.rb
  65. +1 −0 tags/1.8.7/core/hash/rassoc_spec.rb
  66. +1 −0 tags/1.8.7/core/hash/select_spec.rb
  67. +1 −0 tags/1.8.7/core/integer/round_spec.rb
  68. +7 −0 tags/1.8.7/core/io/binread_spec.rb
  69. +25 −0 tags/1.8.7/core/io/open_spec.rb
  70. +4 −0 tags/1.8.7/core/io/ungetbyte_spec.rb
  71. +3 −0 tags/1.8.7/core/io/write_spec.rb
  72. +5 −0 tags/1.8.7/core/kernel/__callee___spec.rb
  73. +2 −0 tags/1.8.7/core/kernel/define_singleton_method_spec.rb
  74. +1 −0 tags/1.8.7/core/kernel/public_method_spec.rb
  75. +4 −0 tags/1.8.7/core/math/log2_spec.rb
  76. +3 −0 tags/1.8.7/core/math/log_spec.rb
  77. +3 −0 tags/1.8.7/core/proc/curry_spec.rb
  78. +5 −0 tags/1.8.7/core/string/getbyte_spec.rb
  79. +1 −0 tags/1.8.7/core/string/prepend_spec.rb
  80. +5 −0 tags/1.8.7/core/string/setbyte_spec.rb
  81. +3 −0 tags/1.8.7/core/symbol/capitalize_spec.rb
  82. +1 −0 tags/1.8.7/core/symbol/comparison_spec.rb
  83. +2 −0 tags/1.8.7/core/symbol/downcase_spec.rb
  84. +2 −0 tags/1.8.7/core/symbol/element_reference_spec.rb
  85. +1 −0 tags/1.8.7/core/symbol/empty_spec.rb
  86. +2 −0 tags/1.8.7/core/symbol/match_spec.rb
  87. +2 −0 tags/1.8.7/core/symbol/swapcase_spec.rb
  88. +1 −0 tags/1.8.7/core/symbol/upcase_spec.rb
  89. +1 −0 tags/1.9.1/core/array/rotate_spec.rb
  90. +2 −0 tags/1.9.1/core/env/to_h_spec.rb
  91. +1 −0 tags/1.9.1/core/hash/default_proc_spec.rb
  92. +2 −0 tags/1.9.1/core/io/write_spec.rb
  93. +2 −0 tags/1.9.2/core/io/write_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
@@ -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
@@ -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
@@ -0,0 +1 @@
+fails:Enumerable#each_entry passes through the values yielded by #each_with_index
@@ -0,0 +1 @@
+fails:Enumerator#next is rewound after encountering a StopIteration
@@ -0,0 +1,2 @@
+fails:ENV.to_hash uses the locale encoding for keys
+fails:ENV.to_hash uses the locale encoding for values
@@ -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
@@ -0,0 +1,2 @@
+fails:File.lchmod returns false from #respond_to?
+fails:File.lchmod raises a NotImplementedError when called
@@ -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
@@ -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
@@ -0,0 +1 @@
+fails:File#to_path preserves the encoding of the path
@@ -0,0 +1 @@
+fails:Fixnum#fdiv follows the coercion protocol
@@ -0,0 +1,2 @@
+fails:GC.stress returns current status of GC stress mode
+fails:GC.stress= sets the stress mode
@@ -0,0 +1 @@
+fails:Hash#assoc only returns the first matching key-value pair for identity hashes
@@ -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
@@ -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
@@ -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
@@ -0,0 +1 @@
+fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
@@ -0,0 +1 @@
+fails:Hash#select returns a Hash of entries for which block is true
@@ -0,0 +1 @@
+fails:Integer#round raises a RangeError when passed Float::INFINITY
@@ -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
@@ -0,0 +1 @@
+fails:IO#chars yields each character
@@ -0,0 +1 @@
+fails:IO#each_char yields each character
@@ -0,0 +1 @@
+fails:IO#lines ignores a given block
@@ -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
@@ -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
@@ -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
@@ -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
@@ -0,0 +1 @@
+fails:Kernel.__method__ returns the original name when aliased method
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -0,0 +1 @@
+fails:String#partition with String sets global vars if regexp used
@@ -0,0 +1 @@
+fails:String#prepend raises a RuntimeError when self if frozen
@@ -0,0 +1 @@
+fails:String#rpartition with String affects $~
@@ -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
@@ -0,0 +1 @@
+fails:String#upto raises a LocalJumpError if other is a string but no block was given
@@ -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
@@ -0,0 +1 @@
+fails:Symbol#<=> with Symbol compares individual characters based on their ascii value
@@ -0,0 +1,2 @@
+fails:Symbol#downcase leaves lowercase Unicode characters as they were
+fails:Symbol#downcase leaves uppercase Unicode characters as they were
@@ -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
@@ -0,0 +1 @@
+fails:Symbol#empty? returns true if self is empty
@@ -0,0 +1,2 @@
+fails:Symbol#=~ sets the last match pseudo-variables
+fails:Symbol#match sets the last match pseudo-variables
@@ -0,0 +1,2 @@
+fails:Symbol#swapcase leaves uppercase Unicode characters as they were
+fails:Symbol#swapcase leaves lowercase Unicode characters as they were
@@ -0,0 +1 @@
+fails:Symbol#upcase leaves lowercase Unicode characters as they were
@@ -0,0 +1,2 @@
+fails:Array#rotate returns subclass instance for Array subclasses
+fails:Array#rotate! raises a RuntimeError on a frozen array
@@ -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
@@ -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
@@ -0,0 +1,2 @@
+fails:ENV.to_hash uses the locale encoding for keys
+fails:ENV.to_hash uses the locale encoding for values
@@ -0,0 +1,2 @@
+fails:File.lchmod returns false from #respond_to?
+fails:File.lchmod raises a NotImplementedError when called
@@ -0,0 +1 @@
+fails:File.new raises an Errno::EBADF if the first parameter is an invalid file descriptor
@@ -0,0 +1 @@
+fails:File.open on a FIFO opens it as a normal file
@@ -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
@@ -0,0 +1 @@
+fails:File#to_path preserves the encoding of the path
@@ -0,0 +1 @@
+fails:Hash#assoc only returns the first matching key-value pair for identity hashes
@@ -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
@@ -0,0 +1 @@
+fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
@@ -0,0 +1 @@
+fails:Hash#rassoc only returns the first matching key-value pair
@@ -0,0 +1 @@
+fails:Hash#select returns a Hash of entries for which block is true
@@ -0,0 +1 @@
+fails:Integer#round raises a RangeError when passed Float::INFINITY
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -0,0 +1 @@
+fails:Kernel#public_method returns a method object if we repond_to_missing? method
@@ -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
@@ -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
@@ -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
Oops, something went wrong.

0 comments on commit 5c15af9

Please sign in to comment.