Skip to content

Commit

Permalink
Showing 31 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/truffle/tags/core/argf/close_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
slow:ARGF.close does not close STDIN
fails:ARGF.close does not close STDIN
fails:ARGF.close doesn't raise an IOError if called on a closed stream
14 changes: 14 additions & 0 deletions spec/truffle/tags/core/array/bsearch_index_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
fails:Array#bsearch_index raises a TypeError when block returns a String
fails:Array#bsearch_index returns nil when block is empty
fails:Array#bsearch_index when not passed a block returns an Enumerator
fails:Array#bsearch_index when not passed a block returns an Enumerator with unknown size
fails:Array#bsearch_index when not passed a block returns index of element when block condition is satisfied
fails:Array#bsearch_index minimum mode returns index of first element which satisfies the block
fails:Array#bsearch_index minimum mode returns nil when block condition is never satisfied
fails:Array#bsearch_index find any mode returns the index of any matched elements where element is between 4 <= x < 8
fails:Array#bsearch_index find any mode returns the index of any matched elements where element is between 8 <= x < 10
fails:Array#bsearch_index find any mode returns nil when block never returns 0
fails:Array#bsearch_index find any mode returns the middle element when block always returns zero
fails:Array#bsearch_index find any mode magnitude does not effect the result returns the index of any matched elements where element is between 4n <= xn < 8n
fails:Array#bsearch_index find any mode magnitude does not effect the result returns nil when block never returns 0
fails:Array#bsearch_index find any mode magnitude does not effect the result handles values from Bignum#coerce
1 change: 1 addition & 0 deletions spec/truffle/tags/core/array/dig_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:Array#dig returns #at with one arg
fails:Array#dig recurses array elements
fails:Array#dig raises without any args
fails:Array#dig calls #dig on the result of #at with the remaining arguments
1 change: 1 addition & 0 deletions spec/truffle/tags/core/array/inspect_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Array#inspect with encoding raises if inspected result is not default external encoding
1 change: 1 addition & 0 deletions spec/truffle/tags/core/array/to_s_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Array#to_s with encoding raises if inspected result is not default external encoding
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/comparable/equal_value_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Comparable#== when #<=> returns nor nil neither an Integer raises an ArgumentError
fails:Comparable#== when #<=> raises an exception if it is a StandardError lets it go through
fails:Comparable#== when #<=> raises an exception if it is a subclass of StandardError lets it go through
1 change: 1 addition & 0 deletions spec/truffle/tags/core/enumerable/chunk_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#chunk does not accept arguments
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/enumerable/chunk_while_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Enumerable#chunk_while when given a block returns an enumerator
fails:Enumerable#chunk_while when given a block splits chunks between adjacent elements i and j where the block returns false
fails:Enumerable#chunk_while when given a block calls the block for length of the receiver enumerable minus one times
fails:Enumerable#chunk_while when not given a block raises an ArgumentError
1 change: 1 addition & 0 deletions spec/truffle/tags/core/enumerable/grep_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#grep with a block raises an ArgumentError when not given a pattern
6 changes: 6 additions & 0 deletions spec/truffle/tags/core/enumerable/grep_v_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fails:Enumerable#grep_v without block returns an Array of matched elements
fails:Enumerable#grep_v without block compares pattern with gathered array when yielded with multiple arguments
fails:Enumerable#grep_v without block raises an ArgumentError when not given a pattern
fails:Enumerable#grep_v with block returns an Array of matched elements that mapped by the block
fails:Enumerable#grep_v with block calls the block with gathered array when yielded with multiple arguments
fails:Enumerable#grep_v with block raises an ArgumentError when not given a pattern
1 change: 1 addition & 0 deletions spec/truffle/tags/core/enumerable/slice_before_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#slice_before when given a block does not accept arguments
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/exception/name_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:NameError#name returns the first argument passed to the method when a NameError is raised from #instance_variable_get
fails:NameError#name returns the first argument passed to the method when a NameError is raised from #class_variable_get
8 changes: 8 additions & 0 deletions spec/truffle/tags/core/exception/receiver_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fails:NameError#receiver returns the object that raised the exception
fails:NameError#receiver returns the Object class when an undefined constant is called without namespace
fails:NameError#receiver returns a class when an undefined constant is called
fails:NameError#receiver returns the Object class when an undefined class variable is called
fails:NameError#receiver returns a class when an undefined class variable is called in a subclass' namespace
fails:NameError#receiver returns the receiver when raised from #instance_variable_get
fails:NameError#receiver returns the receiver when raised from #class_variable_get
fails:NameError#receiver raises an ArgumentError when the receiver is none
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/hash/dig_tags.txt
Original file line number Diff line number Diff line change
@@ -2,3 +2,6 @@ fails:Hash#dig returns [] with one arg
fails:Hash#dig does recurse
fails:Hash#dig raises without args
fails:Hash#dig handles type-mixed deep digging
fails:Hash#dig returns #[] with one arg
fails:Hash#dig raises TypeError if an intermediate element does not respond to #dig
fails:Hash#dig calls #dig on the result of #[] with the remaining arguments
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/hash/fetch_values_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Hash#fetch_values with matched keys returns the values for keys
fails:Hash#fetch_values with unmatched keys raises a KeyError
fails:Hash#fetch_values with unmatched keys returns the default value from block
fails:Hash#fetch_values without keys returns an empty Array
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/hash/gt_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Hash#> returns false when receiver size is smaller than argument
fails:Hash#> returns false when receiver size is the same as argument
fails:Hash#> returns true when argument is a subset of receiver
fails:Hash#> returns false when keys match but values don't
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/hash/gte_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Hash#>= returns false when receiver size is smaller than argument
fails:Hash#>= returns false when argument is not a subset or not equals to receiver
fails:Hash#>= returns true when argument is a subset of receiver or equals to receiver
fails:Hash#>= returns false when keys match but values don't
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/hash/lt_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Hash#< returns false when receiver size is larger than argument
fails:Hash#< returns false when receiver size is the same as argument
fails:Hash#< returns true when receiver is a subset of argument
fails:Hash#< returns false when keys match but values don't
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/hash/lte_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Hash#<= returns false when receiver size is larger than argument
fails:Hash#<= returns false when receiver size is the same as argument
fails:Hash#<= returns true when receiver is a subset of argument or equals to argument
fails:Hash#<= returns false when keys match but values don't
5 changes: 5 additions & 0 deletions spec/truffle/tags/core/hash/to_proc_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fails:Hash#to_proc returns an instance of Proc
fails:Hash#to_proc the returned proc with a stored key returns the paired value
fails:Hash#to_proc the returned proc with no stored key returns nil
fails:Hash#to_proc the returned proc with no stored key when the hash has a default value returns the default value
fails:Hash#to_proc the returned proc with no stored key when the hash has a default proc returns an evaluated value from the default proc
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/io/close_read_tags.txt
Original file line number Diff line number Diff line change
@@ -4,3 +4,5 @@ fails:IO#close_read allows subsequent invocation of close
fails:IO#close_read raises an IOError if the stream is writable and not duplexed
fails:IO#close_read closes the stream if it is neither writable nor duplexed
fails:IO#close_read raises IOError on closed stream
fails:IO#close_read doesn't raise an IOError on subsequent invocations
fails:IO#close_read doesn't raise IOError on closed stream
1 change: 1 addition & 0 deletions spec/truffle/tags/core/io/close_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:IO#close on an IO.popen stream clears #pid
fails:IO#close on an IO.popen stream sets $?
fails:IO#close on an IO.popen stream waits for the child to exit
fails:IO#close does not raise anything when self was already closed
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/io/close_write_tags.txt
Original file line number Diff line number Diff line change
@@ -5,3 +5,5 @@ fails:IO#close_write raises an IOError if the stream is readable and not duplexe
fails:IO#close_write closes the stream if it is neither readable nor duplexed
fails:IO#close_write flushes and closes the write stream
fails:IO#close_write raises IOError on closed stream
fails:IO#close_write doesn't raise an IOError on subsequent invocations
fails:IO#close_write doesn't raise IOError on closed stream
1 change: 1 addition & 0 deletions spec/truffle/tags/core/kernel/loop_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Kernel.loop returns StopIteration#result, the result value of a finished iterator
5 changes: 5 additions & 0 deletions spec/truffle/tags/core/module/deprecate_constant_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fails:Module#deprecate_constant accepts multiple symbols and strings as constant names
fails:Module#deprecate_constant returns self
fails:Module#deprecate_constant raises a NameError when given an undefined name
fails:Module#deprecate_constant when accessing the deprecated module passes the accessing
fails:Module#deprecate_constant when accessing the deprecated module warns with a message
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/numeric/negative_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Numeric#negative? on positive numbers returns false
fails:Numeric#negative? on zero returns false
fails:Numeric#negative? on negative numbers returns true
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/numeric/positive_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Numeric#positive? on positive numbers returns true
fails:Numeric#positive? on zero returns false
fails:Numeric#positive? on negative numbers returns false
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/objectspace/each_object_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
fails:ObjectSpace.each_object doesn't find an object stored in a WeakRef that should have been cleared
fails:ObjectSpace.each_object walks a class and its normal descendants when passed the class's singleton class
fails:ObjectSpace.each_object on singleton classes walks singleton classes
3 changes: 3 additions & 0 deletions spec/truffle/tags/core/string/unicode_normalize_tags.txt
Original file line number Diff line number Diff line change
@@ -12,3 +12,6 @@ fails:String#unicode_normalize! modifies self in place (nfkc)
fails:String#unicode_normalize! modifies self in place (nfkd)
fails:String#unicode_normalize! raises an Encoding::CompatibilityError if the string is not in an unicode encoding
fails:String#unicode_normalize! raises an ArgumentError if the specified form is invalid
fails:String#unicode_normalize returns normalized form of string by default 03D3 (ϓ) GREEK UPSILON WITH ACUTE AND HOOK SYMBOL
fails:String#unicode_normalize returns normalized form of string by default 03D4 (ϔ) GREEK UPSILON WITH DIAERESIS AND HOOK SYMBOL
fails:String#unicode_normalize returns normalized form of string by default 1E9B (ẛ) LATIN SMALL LETTER LONG S WITH DOT ABOVE
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/string/unicode_normalized_tags.txt
Original file line number Diff line number Diff line change
@@ -17,3 +17,7 @@ fails:String#unicode_normalized? returns true if string is empty
fails:String#unicode_normalized? returns true if string does not contain any unicode codepoints
fails:String#unicode_normalized? raises an Encoding::CompatibilityError if the string is not in an unicode encoding
fails:String#unicode_normalized? raises an ArgumentError if the specified form is invalid
fails:String#unicode_normalized? returns true if str is in Unicode normalization form (nfc)
fails:String#unicode_normalized? returns true if str is in Unicode normalization form (nfd)
fails:String#unicode_normalized? returns true if str is in Unicode normalization form (nfkc)
fails:String#unicode_normalized? returns true if str is in Unicode normalization form (nfkd)
5 changes: 5 additions & 0 deletions spec/truffle/tags/core/thread/name_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fails:Thread#name is nil initially
fails:Thread#name returns the thread name
fails:Thread#name= can be set to a String
fails:Thread#name= raises an ArgumentError if the name includes a null byte
fails:Thread#name= can be reset to nil

0 comments on commit 352e22e

Please sign in to comment.