Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add RubySpec tags for acceptable failures
- Loading branch information
Showing
93 changed files
with
282 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:Array#rotate returns subclass instance for Array subclasses | ||
fails:Array#rotate! raises a RuntimeError on a frozen array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Enumerable#each_entry passes through the values yielded by #each_with_index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Enumerator#next is rewound after encountering a StopIteration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:ENV.to_hash uses the locale encoding for keys | ||
fails:ENV.to_hash uses the locale encoding for values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:File.lchmod returns false from #respond_to? | ||
fails:File.lchmod raises a NotImplementedError when called |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:File#to_path preserves the encoding of the path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Fixnum#fdiv follows the coercion protocol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:GC.stress returns current status of GC stress mode | ||
fails:GC.stress= sets the stress mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#assoc only returns the first matching key-value pair for identity hashes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#keep_if raises an RuntimeError if called on a frozen instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#select returns a Hash of entries for which block is true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Integer#round raises a RangeError when passed Float::INFINITY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:IO#chars yields each character |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:IO#each_char yields each character |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:IO#lines ignores a given block |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Kernel.__method__ returns the original name when aliased method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:String#partition with String sets global vars if regexp used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:String#prepend raises a RuntimeError when self if frozen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:String#rpartition with String affects $~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:String#upto raises a LocalJumpError if other is a string but no block was given |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Symbol#<=> with Symbol compares individual characters based on their ascii value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:Symbol#downcase leaves lowercase Unicode characters as they were | ||
fails:Symbol#downcase leaves uppercase Unicode characters as they were |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Symbol#empty? returns true if self is empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:Symbol#=~ sets the last match pseudo-variables | ||
fails:Symbol#match sets the last match pseudo-variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:Symbol#swapcase leaves uppercase Unicode characters as they were | ||
fails:Symbol#swapcase leaves lowercase Unicode characters as they were |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Symbol#upcase leaves lowercase Unicode characters as they were |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:Array#rotate returns subclass instance for Array subclasses | ||
fails:Array#rotate! raises a RuntimeError on a frozen array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:ENV.to_hash uses the locale encoding for keys | ||
fails:ENV.to_hash uses the locale encoding for values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fails:File.lchmod returns false from #respond_to? | ||
fails:File.lchmod raises a NotImplementedError when called |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:File.new raises an Errno::EBADF if the first parameter is an invalid file descriptor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:File.open on a FIFO opens it as a normal file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:File#to_path preserves the encoding of the path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#assoc only returns the first matching key-value pair for identity hashes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#keep_if raises an RuntimeError if called on a frozen instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#rassoc only returns the first matching key-value pair |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Hash#select returns a Hash of entries for which block is true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Integer#round raises a RangeError when passed Float::INFINITY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Kernel#public_method returns a method object if we repond_to_missing? method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.