Skip to content

Commit fe7f9c7

Browse files
committed
[Truffle] Massive untagging of specs.
1 parent 206152a commit fe7f9c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+4
-570
lines changed

spec/truffle/tags/core/array/allocate_tags.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

spec/truffle/tags/core/array/array_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
fails:Array#clear keeps tainted status
2-
fails:Array#clear keeps untrusted status
31
fails:Array#clear raises a RuntimeError on a frozen array
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
fails:Array#clone returns an Array or a subclass instance
2-
fails:Array#clone creates a new array containing all elements or the original
32
fails:Array#clone copies taint status from the original
43
fails:Array#clone copies untrusted status from the original
54
fails:Array#clone copies frozen status from the original
6-
fails:Array#clone copies singleton methods

spec/truffle/tags/core/array/collect_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ fails:Array#collect does not copy tainted status
55
fails:Array#collect does not copy untrusted status
66
fails:Array#collect! returns the evaluated value of block but its contents is partially modified, if it broke in the block
77
fails:Array#collect! returns an Enumerator when no block given, and the enumerator can modify the original array
8-
fails:Array#collect! keeps tainted status
9-
fails:Array#collect! keeps untrusted status
108
fails:Array#collect! when frozen raises a RuntimeError
119
fails:Array#collect! when frozen raises a RuntimeError when empty
1210
fails:Array#collect! when frozen raises a RuntimeError when calling #each on the returned Enumerator

spec/truffle/tags/core/array/comparison_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ fails:Array#<=> returns +1 if the array is longer than the other array
44
fails:Array#<=> returns -1 if the arrays have same length and a pair of corresponding elements returns -1 for <=>
55
fails:Array#<=> returns +1 if the arrays have same length and a pair of corresponding elements returns +1 for <=>
66
fails:Array#<=> properly handles recursive arrays
7-
fails:Array#<=> tries to convert the passed argument to an Array using #to_ary
87
fails:Array#<=> does not call #to_ary on Array subclasses
98
fails:Array#<=> returns nil when the argument is not array-like

spec/truffle/tags/core/array/concat_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ fails:Array#concat tries to convert the passed argument to an Array using #to_ar
22
fails:Array#concat does not call #to_ary on Array subclasses
33
fails:Array#concat raises a RuntimeError when Array is frozen and modification occurs
44
fails:Array#concat raises a RuntimeError when Array is frozen and no modification occurs
5-
fails:Array#concat keeps tainted status
65
fails:Array#concat is not infected by the other
76
fails:Array#concat keeps the tainted status of elements
8-
fails:Array#concat keeps untrusted status
97
fails:Array#concat is not infected untrustedness by the other
108
fails:Array#concat keeps the untrusted status of elements
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
fails:Array#delete_at removes the element at the specified index
21
fails:Array#delete_at returns nil and makes no modification if the index is out of range
32
fails:Array#delete_at tries to convert the passed argument to an Integer using #to_int
43
fails:Array#delete_at raises a RuntimeError on a frozen array
5-
fails:Array#delete_at keeps tainted status
6-
fails:Array#delete_at keeps untrusted status
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
fails:Array#delete removes elements that are #== to object
22
fails:Array#delete may be given a block that is executed if no element matches object
33
fails:Array#delete raises a RuntimeError on a frozen array
4-
fails:Array#delete keeps tainted status
5-
fails:Array#delete keeps untrusted status
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
fails:Array#dup returns an Array or a subclass instance
2-
fails:Array#dup creates a new array containing all elements or the original
32
fails:Array#dup copies taint status from the original
43
fails:Array#dup copies untrusted status from the original

spec/truffle/tags/core/array/element_reference_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ fails:Array#[] returns the subarray which is independent to self with [index,cou
44
fails:Array#[] tries to convert the passed argument to an Integer using #to_int
55
fails:Array#[] returns the elements specified by Range indexes with [m..n]
66
fails:Array#[] returns elements specified by Range indexes except the element at index n with [m...n]
7-
fails:Array#[] returns elements that exist if range start is in the array but range end is not with [m..n]
87
fails:Array#[] accepts Range instances having a negative m and both signs for n with [m..n] and [m...n]
98
fails:Array#[] returns the subarray which is independent to self with [m..n]
109
fails:Array#[] tries to convert Range elements to Integers using #to_int with [m..n] and [m...n]
@@ -13,7 +12,6 @@ fails:Array#[] returns [] if index == array.size with [index, length]
1312
fails:Array#[] returns nil if length is negative with [index, length]
1413
fails:Array#[] returns an empty array when m == n with [m...n]
1514
fails:Array#[] returns an empty array with [0...0]
16-
fails:Array#[] returns a subarray where m, n negatives and m < n with [m..n]
1715
fails:Array#[] returns an array containing the first element with [0..0]
1816
fails:Array#[] returns the entire array with [0..-1]
1917
fails:Array#[] returns all but the last element with [0...-1]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
fails:Array#eql? handles well recursive arrays
2-
fails:Array#eql? does not call #to_ary on its argument
32
fails:Array#eql? does not call #to_ary on Array subclasses
43
fails:Array#eql? ignores array class differences
54
fails:Array#eql? returns false if any corresponding elements are not #eql?
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
fails:Array#== returns true if other is the same array
2-
fails:Array#== returns true if corresponding elements are #eql?
3-
fails:Array#== returns false if other is shorter than self
4-
fails:Array#== returns false if other is longer than self
5-
fails:Array#== returns false immediately when sizes of the arrays differ
61
fails:Array#== handles well recursive arrays
7-
fails:Array#== does not call #to_ary on its argument
82
fails:Array#== does not call #to_ary on Array subclasses
93
fails:Array#== ignores array class differences
104
fails:Array#== compares with an equivalent Array-like object using #to_ary
11-
fails:Array#== returns false if any corresponding elements are not #==
12-
fails:Array#== returns true if corresponding elements are #==
13-
fails:Array#== returns false for [NaN] == [NaN]

spec/truffle/tags/core/array/fill_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ fails:Array#fill with (filler, index, length) pads between the last element and
2222
fails:Array#fill with (filler, index, length) replaces length elements beginning with the (-n)th if given an index n < 0 and a length > 0
2323
fails:Array#fill with (filler, index, length) starts at 0 if the negative index is before the start of the array
2424
fails:Array#fill with (filler, index, length) makes no modifications if the given length <= 0
25-
fails:Array#fill with (filler, index, length) does not raise an exception if the given length is negative and its absolute value does not exceed the index
26-
fails:Array#fill with (filler, index, length) does not raise an exception even if the given length is negative and its absolute value exceeds the index
2725
fails:Array#fill with (filler, index, length) tries to convert the second and third arguments to Integers using #to_int
2826
fails:Array#fill with (filler, index, length) raises a TypeError if the index is not numeric
2927
fails:Array#fill with (filler, index, length) raises an ArgumentError or RangeError for too-large sizes

spec/truffle/tags/core/array/first_tags.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
fails:Array#first returns the first element
2-
fails:Array#first returns nil if self is empty
31
fails:Array#first returns the first count elements if given a count
42
fails:Array#first returns an empty array when passed count on an empty array
53
fails:Array#first returns an empty array when passed count == 0
64
fails:Array#first returns an array containing the first element when passed count == 1
7-
fails:Array#first raises an ArgumentError when count is negative
85
fails:Array#first returns the entire array when count > length
96
fails:Array#first returns an array which is independent to the original when passed count
10-
fails:Array#first properly handles recursive arrays
117
fails:Array#first tries to convert the passed argument to an Integer using #to_int
128
fails:Array#first raises a TypeError if the passed argument is not numeric
139
fails:Array#first does not return subclass instance when passed count on Array subclasses

spec/truffle/tags/core/array/flatten_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ fails:Array#flatten does not call flatten on elements
88
fails:Array#flatten raises an ArgumentError on recursive arrays
99
fails:Array#flatten flattens any element which responds to #to_ary, using the return value of said method
1010
fails:Array#flatten returns subclass instance for Array subclasses
11-
fails:Array#flatten is not destructive
1211
fails:Array#flatten returns a tainted array if self is tainted
1312
fails:Array#flatten returns an untrusted array if self is untrusted
14-
fails:Array#flatten with a non-Array object in the Array does not call #to_ary if the method does not exist
1513
fails:Array#flatten with a non-Array object in the Array ignores the return value of #to_ary if it is nil
1614
fails:Array#flatten with a non-Array object in the Array raises a TypeError if the return value of #to_ary is not an Array
1715
fails:Array#flatten! modifies array to produce a one-dimensional flattening recursively
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
fails:Array#frozen? returns true if array is frozen
21
fails:Array#frozen? returns false for an array being sorted by #sort

spec/truffle/tags/core/array/include_tags.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
fails:Array#initialize_copy is private
2-
fails:Array#initialize_copy replaces the elements with elements from other array
3-
fails:Array#initialize_copy properly handles recursive arrays
4-
fails:Array#initialize_copy returns self
5-
fails:Array#initialize_copy does not make self dependent to the original array
61
fails:Array#initialize_copy tries to convert the passed argument to an Array using #to_ary
72
fails:Array#initialize_copy does not call #to_ary on Array subclasses
83
fails:Array#initialize_copy raises a RuntimeError on a frozen array
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
fails:Array#initialize is private
2-
fails:Array#initialize is called on subclasses
31
fails:Array#initialize preserves the object's identity even when changing its value
4-
fails:Array#initialize raises an ArgumentError if passed 3 or more arguments
52
fails:Array#initialize raises a RuntimeError on frozen arrays
63
fails:Array#initialize calls #to_ary to convert the value to an array, even if it's private
74
fails:Array#initialize with no arguments makes the array empty
85
fails:Array#initialize with no arguments does not use the given block
9-
fails:Array#initialize with (array) replaces self with the other array
106
fails:Array#initialize with (array) does not use the given block
117
fails:Array#initialize with (array) calls #to_ary to convert the value to an array
12-
fails:Array#initialize with (array) does not call #to_ary on instances of Array or subclasses of Array
138
fails:Array#initialize with (array) raises a TypeError if an Array type argument and a default object
14-
fails:Array#initialize with (size, object=nil) sets the array to size and fills with the object
159
fails:Array#initialize with (size, object=nil) sets the array to size and fills with nil when object is omitted
1610
fails:Array#initialize with (size, object=nil) raises an ArgumentError if size is negative
1711
fails:Array#initialize with (size, object=nil) raises an ArgumentError if size is too large
1812
fails:Array#initialize with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is given
1913
fails:Array#initialize with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is not given
2014
fails:Array#initialize with (size, object=nil) raises a TypeError if the size argument is not an Integer type
21-
fails:Array#initialize with (size, object=nil) yields the index of the element and sets the element to the value of the block
2215
fails:Array#initialize with (size, object=nil) uses the block value instead of using the default value
2316
fails:Array#initialize with (size, object=nil) returns the value passed to break
2417
fails:Array#initialize with (size, object=nil) sets the array to the values returned by the block before break is executed

spec/truffle/tags/core/array/insert_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ fails:Array#insert can insert before the first element with a negative index
77
fails:Array#insert raises an IndexError if the negative index is out of bounds
88
fails:Array#insert does nothing of no object is passed
99
fails:Array#insert tries to convert the passed position argument to an Integer using #to_int
10-
fails:Array#insert raises an ArgumentError if no argument passed
1110
fails:Array#insert raises a RuntimeError on frozen arrays when the array is modified
1211
fails:Array#insert raises a RuntimeError on frozen arrays when the array would not be modified
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
fails:Array#inspect returns a string
2-
fails:Array#inspect returns '[]' for an empty Array
3-
fails:Array#inspect calls inspect on its elements and joins the results with commas
41
fails:Array#inspect represents a recursive element with '[...]'
52
fails:Array#inspect taints the result if the Array is non-empty and tainted
63
fails:Array#inspect does not taint the result if the Array is tainted but empty
@@ -9,6 +6,5 @@ fails:Array#inspect untrusts the result if the Array is untrusted
96
fails:Array#inspect does not untrust the result if the Array is untrusted but empty
107
fails:Array#inspect untrusts the result if an element is untrusted
118
fails:Array#inspect with encoding returns a US-ASCII string for an empty Array
12-
fails:Array#inspect with encoding use the default external encoding if it is ascii compatible
139
fails:Array#inspect with encoding use US-ASCII encoding if the default external encoding is not ascii compatible
1410
fails:Array#inspect with encoding raises if inspected result is not default external encoding

spec/truffle/tags/core/array/join_tags.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
fails:Array#join returns a string formed by concatenating each element.to_str separated by separator
22
fails:Array#join uses the same separator with nested arrays
3-
fails:Array#join returns an empty string if the Array is empty
43
fails:Array#join returns a US-ASCII string for an empty Array
5-
fails:Array#join returns a string formed by concatenating each String element separated by $,
64
fails:Array#join attempts coercion via #to_str first
75
fails:Array#join attempts coercion via #to_ary second
86
fails:Array#join attempts coercion via #to_s third
@@ -14,7 +12,6 @@ fails:Array#join untrusts the result if the Array is untrusted and non-empty
1412
fails:Array#join does not untrust the result if the Array is untrusted but empty
1513
fails:Array#join untrusts the result if the result of coercing an element is untrusted
1614
fails:Array#join uses the first encoding when other strings are compatible
17-
fails:Array#join uses the widest common encoding when other strings are incompatible
1815
fails:Array#join fails for arrays with incompatibly-encoded strings
1916
fails:Array#join does not separate elements when the passed separator is nil
2017
fails:Array#join calls #to_str to convert the separator to a String

spec/truffle/tags/core/array/map_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ fails:Array#map does not copy tainted status
55
fails:Array#map does not copy untrusted status
66
fails:Array#map! returns the evaluated value of block but its contents is partially modified, if it broke in the block
77
fails:Array#map! returns an Enumerator when no block given, and the enumerator can modify the original array
8-
fails:Array#map! keeps tainted status
9-
fails:Array#map! keeps untrusted status
108
fails:Array#map! when frozen raises a RuntimeError
119
fails:Array#map! when frozen raises a RuntimeError when empty
1210
fails:Array#map! when frozen raises a RuntimeError when calling #each on the returned Enumerator
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
fails:Array#- creates an array minus any items from other array
2-
fails:Array#- properly handles recursive arrays
31
fails:Array#- tries to convert the passed arguments to Arrays using #to_ary
42
fails:Array#- raises a TypeError if the argument cannot be coerced to an Array by calling #to_ary
53
fails:Array#- does not return subclass instance for Array subclasses
64
fails:Array#- does not call to_ary on array subclasses
75
fails:Array#- removes an item identified as equivalent via #hash and #eql?
86
fails:Array#- doesn't remove an item with the same hash but not #eql?
9-
fails:Array#- is not destructive
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
fails:Array.new returns an instance of Array
2-
fails:Array.new returns an instance of a subclass
32
fails:Array.new with no arguments returns an empty array
43
fails:Array.new with no arguments does not use the given block
5-
fails:Array.new with (array) returns an array initialized to the other array
64
fails:Array.new with (array) does not use the given block
75
fails:Array.new with (array) calls #to_ary to convert the value to an array
8-
fails:Array.new with (array) does not call #to_ary on instances of Array or subclasses of Array
96
fails:Array.new with (array) raises a TypeError if an Array type argument and a default object
107
fails:Array.new with (size, object=nil) returns an array of size filled with nil when object is omitted
118
fails:Array.new with (size, object=nil) raises an ArgumentError if size is negative
129
fails:Array.new with (size, object=nil) raises an ArgumentError if size is too large
1310
fails:Array.new with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is given
1411
fails:Array.new with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is not given
1512
fails:Array.new with (size, object=nil) raises a TypeError if the size argument is not an Integer type
16-
fails:Array.new with (size, object=nil) yields the index of the element and sets the element to the value of the block
1713
fails:Array.new with (size, object=nil) uses the block value instead of using the default value
1814
fails:Array.new with (size, object=nil) returns the value passed to break

spec/truffle/tags/core/array/pack/a_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ fails:Array#pack with format 'A' returns a untrusted string when the format is u
1717
fails:Array#pack with format 'A' returns a untrusted string when the empty format is untrusted
1818
fails:Array#pack with format 'A' returns a untrusted string when a pack argument is untrusted
1919
fails:Array#pack with format 'A' returns a trusted string when the array is untrusted
20-
fails:Array#pack with format 'A' returns a string in encoding of common to the concatenated results
2120
fails:Array#pack with format 'a' raises a TypeError when passed nil
2221
fails:Array#pack with format 'a' raises a TypeError when passed an Integer
2322
fails:Array#pack with format 'a' ignores whitespace in the format string
@@ -37,4 +36,3 @@ fails:Array#pack with format 'a' returns a untrusted string when the format is u
3736
fails:Array#pack with format 'a' returns a untrusted string when the empty format is untrusted
3837
fails:Array#pack with format 'a' returns a untrusted string when a pack argument is untrusted
3938
fails:Array#pack with format 'a' returns a trusted string when the array is untrusted
40-
fails:Array#pack with format 'a' returns a string in encoding of common to the concatenated results

spec/truffle/tags/core/array/pack/b_tags.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ fails:Array#pack with format 'B' raises an ArgumentError if there are fewer elem
77
fails:Array#pack with format 'B' raises a TypeError if the object does not respond to #to_str
88
fails:Array#pack with format 'B' raises a TypeError if #to_str does not return a String
99
fails:Array#pack with format 'B' calls #to_str to convert an Object to a String
10-
fails:Array#pack with format 'B' returns an ASCII-8BIT string
11-
fails:Array#pack with format 'B' encodes the string as a sequence of bytes
1210
fails:Array#pack with format 'b' raises a TypeError when passed nil
1311
fails:Array#pack with format 'b' raises a TypeError when passed an Integer
1412
fails:Array#pack with format 'b' ignores whitespace in the format string
@@ -18,5 +16,3 @@ fails:Array#pack with format 'b' raises an ArgumentError if there are fewer elem
1816
fails:Array#pack with format 'b' raises a TypeError if the object does not respond to #to_str
1917
fails:Array#pack with format 'b' raises a TypeError if #to_str does not return a String
2018
fails:Array#pack with format 'b' calls #to_str to convert an Object to a String
21-
fails:Array#pack with format 'b' returns an ASCII-8BIT string
22-
fails:Array#pack with format 'b' encodes the string as a sequence of bytes

0 commit comments

Comments
 (0)