Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 285ee1f
Showing
397 changed files
with
1,324 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 @@ | ||
fails:Array#<=> calls <=> left to right and return first non-0 result |
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:Array#delete removes elements that are #== to object |
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#[]= calls to_ary on its rhs argument for multi-element sets | ||
fails:Array#[]= with [index, count] inserts other section in place defined by idx |
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:Array#fetch passes the original index argument object to the block, not the converted 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,3 @@ | ||
fails:Array#fill raises an ArgumentError if given an index and a negative count whose absolute value exceeds the index | ||
fails:Array#fill raises an ArgumentError if the wrong number of arguments is given | ||
fails:Array#fill raises an ArgumentError or RangeError for too-large sizes |
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:Array#first does not return subclass instance when passed count on Array subclasses |
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#flatten does not call flatten on elements | ||
fails:Array#flatten flattens any element which responds to #to_ary, using the return value of said method | ||
fails:Array#flatten returns subclass instance for Array subclasses |
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:Array#initialize_copy replaces the elements with elements from other array | ||
fails:Array#initialize_copy tries to convert the passed argument to an Array using #to_ary | ||
fails:Array#initialize_copy checks whether the passed argument responds to #to_ary | ||
fails:Array#initialize_copy does not call #to_ary on Array subclasses | ||
fails:Array#initialize_copy is private |
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#insert tries to convert the passed position argument to an Integer using #to_int | ||
fails:Array#insert checks whether the passed position argument responds to #to_int |
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:Array#join tries to convert the passed seperator to a String using #to_str | ||
fails:Array#join checks whether the passed seperator responds to #to_str | ||
fails:Array#join does not process the separator if the array is empty | ||
fails:Array#join handles recursive 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:Array#last does not return subclass instance on Array subclasses |
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:Array#- acts as if using an intermediate hash to collect 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 @@ | ||
fails:Array#* returns subclass instance with Array subclasses |
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:Array.new raises an ArgumentError when passed a negative size | ||
fails:Array.new tries to convert the passed arguments to Arrays using #to_ary | ||
fails:Array.new checks whether the passed argument responds to #to_ary | ||
fails:Array.new checks whether the passed argument responds to #to_int if they don't respond to #to_ary | ||
fails:Array.new calls to_ary on an argument before to_int |
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,71 @@ | ||
fails:Array#pack raises an ArgumentError with ('%') | ||
fails:Array#pack raises an ArgumentError on empty array | ||
fails:Array#pack skips everything till the end of schema string with ('#') | ||
fails:Array#pack skips everything till the end of schema line with ('#') | ||
fails:Array#pack returns packed bit-string descending order with ('B') | ||
fails:Array#pack uses char codes to determine if bit is set or not with ('B') | ||
fails:Array#pack conversion edge case: all zeros with ('B') | ||
fails:Array#pack conversion edge case: all ones with ('B') | ||
fails:Array#pack conversion edge case: left one with ('B') | ||
fails:Array#pack conversion edge case: right one with ('B') | ||
fails:Array#pack conversion edge case: edge sequences not in first char with ('B') | ||
fails:Array#pack uses zeros if count is not multiple of 8 with ('B') | ||
fails:Array#pack returns zero-char for each 2 of count that greater than string length with ('B') | ||
fails:Array#pack returns extra zero char if count is odd and greater than string length with ('B') | ||
fails:Array#pack starts new char if string is ended before char's 8 bits with ('B') | ||
fails:Array#pack considers count = 1 if no explicit count it given with ('B') | ||
fails:Array#pack returns empty string if count = 0 with ('B') | ||
fails:Array#pack uses argument string length as count if count = * with ('B') | ||
fails:Array#pack consumes only one array item with ('B') | ||
fails:Array#pack raises a TypeError if corresponding array item is not String with ('B') | ||
fails:Array#pack returns packed bit-string descending order with ('b') | ||
fails:Array#pack conversion edge case: all zeros with ('b') | ||
fails:Array#pack conversion edge case: all ones with ('b') | ||
fails:Array#pack conversion edge case: left one with ('b') | ||
fails:Array#pack conversion edge case: right one with ('b') | ||
fails:Array#pack conversion edge case: edge sequences not in first char with ('b') | ||
fails:Array#pack uses char codes to determine if bit is set or not with ('b') | ||
fails:Array#pack uses zeros if count is not multiple of 8 with ('b') | ||
fails:Array#pack returns zero-char for each 2 of count that greater than string length with ('b') | ||
fails:Array#pack returns extra zero char if count is odd and greater than string length with ('b') | ||
fails:Array#pack starts new char if argument string is ended before char's 8 bits with ('b') | ||
fails:Array#pack considers count = 1 if no explicit count it given with ('b') | ||
fails:Array#pack returns empty string if count = 0 with ('b') | ||
fails:Array#pack uses argument string length as count if count = * with ('b') | ||
fails:Array#pack consumes only one array item with ('b') | ||
fails:Array#pack raises a TypeError if corresponding array item is not String with ('b') | ||
fails:Array#pack raises an ArgumentError if count is greater than array elements left with ('C') | ||
fails:Array#pack raises an ArgumentError if count is greater than array elements left with ('c') | ||
fails:Array#pack encodes a high-nibble hexadecimal string with ('H') | ||
fails:Array#pack encodes a low-nibble hexadecimal string with ('h') | ||
fails:Array#pack enocdes string with Qouted Printable encoding with ('M') | ||
fails:Array#pack doesn't encode new line chars with ('M') | ||
fails:Array#pack always appends soft line break at the end of encoded string with ('M') | ||
fails:Array#pack appends soft line break after each 72 chars + 1 encoded char in encoded string with ('M') | ||
fails:Array#pack doesn't quote chars 32..60 and 62..126) with ('M') | ||
fails:Array#pack quotes chars by adding equal sign and char's hex value with ('M') | ||
fails:Array#pack quotes equal sign with ('M') | ||
fails:Array#pack doesn't quote \t char with ('M') | ||
fails:Array#pack returns empty string if source string is empty with ('M') | ||
fails:Array#pack calls to_s on object to convert to string with ('M') | ||
fails:Array#pack ignores count parameter with ('M') | ||
fails:Array#pack ignores star parameter with ('M') | ||
fails:Array#pack encodes 4 integers in network order with ('n4') | ||
fails:Array#pack converts integers into UTF-8 encoded byte sequences with ('U') | ||
fails:Array#pack encodes string with UU-encoding with ('u') | ||
fails:Array#pack converts series of 3-char sequences into four 4-char sequences with ('u') | ||
fails:Array#pack appends zero-chars to source string if string length is not multiple of 3 with ('u') | ||
fails:Array#pack appends newline at the end of result string with ('u') | ||
fails:Array#pack splits source string into lines with no more than 45 chars with ('u') | ||
fails:Array#pack prepends encoded line length to each line with ('u') | ||
fails:Array#pack encodes 6-bit char with another char starting from char 32 with ('u') | ||
fails:Array#pack replaces spaces in encoded string with grave accent (`) char with ('u') | ||
fails:Array#pack returns empty string if source string is empty with ('u') | ||
fails:Array#pack raises a TypeError if corresponding array item is not string with ('u') | ||
fails:Array#pack ignores count parameter with ('u') | ||
fails:Array#pack ignores star parameter with ('u') | ||
fails:Array#pack decreases result string by one char with ('X') | ||
fails:Array#pack converts to BER-compressed integer with ('w') | ||
fails:Array#pack with count decreases result string by count chars with ('X') | ||
fails:Array#pack raises an ArgumentError if count greater than already generated string length with ('X') | ||
fails:Array#pack reuses last array element as often as needed to complete the 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:Array#reverse returns subclass instance on Array subclasses |
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:Array#rindex does not fail when removing elements from 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,5 @@ | ||
fails:Array#sort does not call #<=> on contained objects when invoked with a block | ||
fails:Array#sort does not call #<=> on elements when invoked with a block even if Array is large (Rubinius #412) | ||
fails:Array#sort completes when supplied a block that always returns the same result | ||
fails:Array#sort! does not call #<=> on contained objects when invoked with a block | ||
fails:Array#sort! does not call #<=> on elements when invoked with a block even if Array is large (Rubinius #412) |
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:Array#to_a does not return subclass instance on Array subclasses |
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:Array#values_at returns an array of elements in the ranges when passes ranges |
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:Bignum#& returns self bitwise AND other |
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:Bignum#| returns self bitwise OR other |
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:Bignum#^ returns self bitwise EXCLUSIVE OR other |
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:Bignum#div returns a result of integer division of self by a float argument | ||
fails:Bignum#div raises FloatDomainError if the argument is a float zero |
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:Bignum#divmod returns an Array containing quotient and modulus obtained from dividing self by the given 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 @@ | ||
fails:Bignum#** returns self raised to other power |
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:Bignum#<< raises a RangeError when the given argument is a Bignum |
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:Bignum#- returns self minus the given 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,2 @@ | ||
fails:Bignum#% returns the modulus obtained from dividing self by the given argument | ||
fails:Bignum#modulo returns the modulus obtained from dividing self by the given 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 @@ | ||
fails:Bignum#+ returns self plus the given 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:Bignum#remainder returns the remainder of dividing self by other |
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:Bignum#>> returns 0 when the given argument is a Bignum and self is positive | ||
fails:Bignum#>> returns -1 when the given argument is a Bignum and self is negative |
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:Binding#clone returns a copy of the Bind object | ||
fails:Binding#clone is a shallow copy of the Bind object |
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:Binding#dup returns a copy of the Bind object | ||
fails:Binding#dup is a shallow copy of the Bind object |
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:Class.new creates a class without a name | ||
fails:Class.new raises a TypeError when given a non-Class |
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:Class#superclass returns the superclass of self |
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:Comparable#== calls #<=> on self with other and returns true if #<=> returns 0 | ||
fails:Comparable#== returns nil if calling #<=> on self raises a StandardError |
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:Creating a Continuation object must be done through Kernel.callcc, no .new | ||
fails:Executing a Continuation using #call transfers execution to right after the Kernel.callcc block | ||
fails:Executing a Continuation arguments given to #call (or nil) are returned by the Kernel.callcc block (as Array unless only one object) | ||
fails:Executing a Continuation #[] is an alias for #call |
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#grep grep with a block should return an array of elements === pattern passed through 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 @@ | ||
fails:Enumerable#min return the minimun when using a block rule |
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#sort sort should throw a NoMethodError if elements do not define <=> |
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:ENV.clear deletes all environment 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 @@ | ||
fails:ENV.[] returns the specified environment variable |
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:ENV.[]= sets the environment variable to the given 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,4 @@ | ||
fails:ENV.fetch raises IndexError for an invalid key | ||
fails:ENV.fetch provides the given default parameter | ||
fails:ENV.fetch provides a default value from a block | ||
fails:ENV.fetch warns on block and default parameter 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 @@ | ||
fails:ENV.invert returns a hash with ENV.keys as the values and vice versa |
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:ENV.member? returns true if ENV has the key |
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:ENV.reject! returns itself or nil | ||
fails:ENV.reject rejects entries based on key | ||
fails:ENV.reject rejects entries based on value | ||
fails:ENV.reject returns a Hash |
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:ENV.replace replaces ENV with a Hash |
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:ENV.store sets the environment variable to the given 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 @@ | ||
fails:ENV.update yields key, the old value and the new value when replacing entries |
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:NameError.new NameError.new should take optional name 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:NoMethodError.new allows passing method args | ||
fails:NoMethodError#args returns an empty array if the caller method had no arguments | ||
fails:NoMethodError#args returns an array with the same elements as passed to the 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,6 @@ | ||
fails:SystemCallError.new takes an optional errno argument | ||
fails:SystemCallError.new accepts single Fixnum argument as errno | ||
fails:SystemCallError#errno returns nil when no errno given | ||
fails:SystemCallError#errno returns the errno given as optional argument to new | ||
fails:SystemCallError#message should return default message when no message given | ||
fails:SystemCallError#message returns the message given as an argument to new |
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:File.basename return the last component of the filename | ||
fails:File.basename return the basename for unix suffix | ||
fails:File.basename return the basename for windows | ||
fails:File.basename return basename windows forward slash |
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.blockdev? returns true/false depending if the named file is a block device |
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.chardev? returns true/false depending if the named file is a char device |
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,11 @@ | ||
fails:File#chmod returns 0 if successful | ||
fails:File#chmod always succeeds with any numeric values | ||
fails:File#chmod invokes to_int on non-integer argument | ||
fails:File#chmod with '0444' makes file readable and executable but not writable | ||
fails:File#chmod with '0644' makes file readable and writable and also executable | ||
fails:File.chmod returns the number of files modified | ||
fails:File.chmod throws a TypeError if the given path is not coercable into a string | ||
fails:File.chmod invokes to_int on non-integer argument | ||
fails:File.chmod invokes to_str on non-string file names | ||
fails:File.chmod with '0444' makes file readable and executable but not writable | ||
fails:File.chmod with '0644' makes file readable and writable and also executable |
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:File.chown does not modify the owner id of the file | ||
fails:File.chown does not modify the group id of the file | ||
fails:File#chown does not modify the owner id of the file | ||
fails:File#chown does not modify the group id of the file | ||
fails:File#chown returns 0 |
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.directory? raises a TypeError if not passed a String type |
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.dirname dirname should return all the components of filename except the last one | ||
fails:File.dirname return all the components of filename except the last one (edge cases) | ||
fails:File.dirname raises a TypeError if not passed a String type | ||
fails:File.dirname return the return all the components of filename except the last one (Windows format) | ||
fails:File.dirname return the return all the components of filename except the last one (windows unc) | ||
fails:File.dirname return the return all the components of filename except the last one (forward_slash) |
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.executable_real? returns true if named file is readable by the real user id of the process, otherwise false | ||
fails:File.executable_real? raises a TypeError if not passed a String type | ||
fails:File.executable_real? returns false if 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,2 @@ | ||
fails:File.executable? raises a TypeError if not passed a String type | ||
fails:File.executable? returns false if 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.exist? raises a TypeError if not passed a String type |
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.exists? raises a TypeError if not passed a String type |
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.expand_path converts a pathname to an absolute pathname | ||
fails:File.expand_path converts a pathname to an absolute pathname, Ruby-Talk:18512 | ||
fails:File.expand_path converts a pathname to an absolute pathname, using a complete path | ||
fails:File.expand_path converts a pathname to an absolute pathname, using ~ (home) as base | ||
fails:File.expand_path raises an ArgumentError is not passed one or two arguments | ||
fails:File.expand_path raises a TypeError if not passed a String type |
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.extname returns the extension (the portion of file name in path after the period). |
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.file? raises a TypeError if not passed a String type |
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#flock should lock a 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,20 @@ | ||
fails:File.fnmatch does not match characters outside of the range of the bracket expresion | ||
fails:File.fnmatch matches ranges of characters using exclusive bracket expresions (e.g. [^t] or [!t]) | ||
fails:File.fnmatch matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE | ||
fails:File.fnmatch does not match '/' characters with ? or * when flags includes FNM_PATHNAME | ||
fails:File.fnmatch does not match '/' characters inside bracket expressions when flags includes FNM_PATHNAME | ||
fails:File.fnmatch does not match leading periods in filenames with wildcards by default | ||
fails:File.fnmatch matches multiple directories with ** when flags includes File::FNM_PATHNAME | ||
fails:File.fnmatch raises a TypeError if the first and second arguments are not string-like | ||
fails:File.fnmatch raises a TypeError if the third argument is not an Integer | ||
fails:File.fnmatch does not raise a TypeError if the third argument can be coerced to an Integer | ||
fails:File.fnmatch? does not match characters outside of the range of the bracket expresion | ||
fails:File.fnmatch? matches ranges of characters using exclusive bracket expresions (e.g. [^t] or [!t]) | ||
fails:File.fnmatch? matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE | ||
fails:File.fnmatch? does not match '/' characters with ? or * when flags includes FNM_PATHNAME | ||
fails:File.fnmatch? does not match '/' characters inside bracket expressions when flags includes FNM_PATHNAME | ||
fails:File.fnmatch? does not match leading periods in filenames with wildcards by default | ||
fails:File.fnmatch? matches multiple directories with ** when flags includes File::FNM_PATHNAME | ||
fails:File.fnmatch? raises a TypeError if the first and second arguments are not string-like | ||
fails:File.fnmatch? raises a TypeError if the third argument is not an Integer | ||
fails:File.fnmatch? does not raise a TypeError if the third argument can be coerced to 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,2 @@ | ||
fails:File.grpowned? return false if the file exist | ||
fails:File.grpowned? returns false if file the 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,5 @@ | ||
fails:File.identical? return a Boolean class | ||
fails:File.identical? return true if they are identical | ||
fails:File.identical? raises an ArgumentError if not passed two arguments | ||
fails:File.identical? raises a TypeError if not passed String types | ||
fails:File.identical? identical? should return true if both named files are identical |
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#inspect returns string that contains 'closed' when invoked on closed 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,7 @@ | ||
fails:File.join joins parts using File::ALT_SEPARATOR on windows | ||
fails:File.join handles leading parts edge cases | ||
fails:File.join handles trailing parts edge cases | ||
fails:File.join handles middle parts edge cases | ||
fails:File.join handles recursive arrays | ||
fails:File.join raises a TypeError exception when args are nil | ||
fails:File.join calls #to_str |
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:File.lstat returns a File::Stat object if the given file exists | ||
fails:File.lstat should be able to use the instance methods | ||
fails:File.lstat raises an Errno::ENOENT if the file does not exist | ||
fails:File.lstat returns a File::Stat object with symlink properties for a symlink |
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.mtime returns the modification Time of the file | ||
fails:File.mtime raises an Errno::ENOENT exception if the file is not found | ||
fails:File#mtime returns the modification Time of the file |
Oops, something went wrong.