|
14 | 14 | fails "Array#<=> calls <=> left to right and return first non-0 result"
|
15 | 15 | fails "Array#<=> returns -1 if the arrays have same length and a pair of corresponding elements returns -1 for <=>"
|
16 | 16 | fails "Array#<=> returns +1 if the arrays have same length and a pair of corresponding elements returns +1 for <=>"
|
17 |
| - fails "Array#<=> properly handles recursive arrays" |
18 | 17 | fails "Array#<=> tries to convert the passed argument to an Array using #to_ary"
|
19 | 18 | fails "Array#<=> returns nil when the argument is not array-like"
|
20 | 19 |
|
|
25 | 24 |
|
26 | 25 | fails "Array#[]= sets elements in the range arguments when passed ranges"
|
27 | 26 |
|
28 |
| - fails "Array#eql? handles well recursive arrays" |
29 |
| - |
30 |
| - fails "Array#== handles well recursive arrays" |
31 |
| - |
32 | 27 | fails "Array#flatten does not call flatten on elements"
|
33 |
| - fails "Array#flatten raises an ArgumentError on recursive arrays" |
34 | 28 | fails "Array#flatten with a non-Array object in the Array ignores the return value of #to_ary if it is nil"
|
35 | 29 | 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"
|
36 | 30 | fails "Array#flatten raises a TypeError when the passed Object can't be converted to an Integer"
|
37 | 31 | fails "Array#flatten tries to convert passed Objects to Integers using #to_int"
|
38 | 32 |
|
39 | 33 | fails "Array#flatten! does not call flatten! on elements"
|
40 |
| - fails "Array#flatten! raises an ArgumentError on recursive arrays" |
41 | 34 | fails "Array#flatten! flattens any elements which responds to #to_ary, using the return value of said method"
|
42 | 35 | fails "Array#flatten! raises a TypeError when the passed Object can't be converted to an Integer"
|
43 | 36 | fails "Array#flatten! tries to convert passed Objects to Integers using #to_int"
|
|
55 | 48 | fails "Array#initialize with (array) calls #to_ary to convert the value to an array"
|
56 | 49 | fails "Array#initialize preserves the object's identity even when changing its value"
|
57 | 50 |
|
58 |
| - fails "Array#join raises an ArgumentError when the Array is recursive" |
59 |
| - |
60 |
| - fails "Array#& properly handles recursive arrays" |
61 | 51 | fails "Array#& tries to convert the passed argument to an Array using #to_ary"
|
62 | 52 | fails "Array#& determines equivalence between elements in the sense of eql?"
|
63 | 53 |
|
|
188 | 178 | fails "Array#uniq uses eql? semantics"
|
189 | 179 |
|
190 | 180 | fails "Array#uniq! compares elements based on the value returned from the block"
|
191 |
| - fails "Array#uniq! properly handles recursive arrays" |
192 | 181 |
|
193 | 182 | fails "Array#values_at returns an array of elements at the indexes when passed indexes"
|
194 | 183 | fails "Array#values_at calls to_int on its indices"
|
195 | 184 | fails "Array#values_at returns an array of elements in the ranges when passes ranges"
|
196 |
| - fails "Array#values_at properly handles recursive arrays" |
197 | 185 | fails "Array#values_at calls to_int on arguments of ranges when passes ranges"
|
198 | 186 | fails "Array#values_at does not return subclass instance on Array subclasses"
|
199 | 187 |
|
|
204 | 192 | fails "Array#hash returns same hash code for arrays with the same content"
|
205 | 193 | fails "Array#hash ignores array class differences"
|
206 | 194 | fails "Array#hash calls to_int on result of calling hash on each element"
|
207 |
| - fails "Array#hash returns the same hash for equal recursive arrays through hashes" |
208 |
| - fails "Array#hash returns the same hash for equal recursive arrays" |
209 | 195 | fails "Array#hash returns the same fixnum for arrays with the same content"
|
210 | 196 |
|
211 |
| - fails "Array#partition properly handles recursive arrays" |
212 | 197 | fails "Array#partition returns in the left array values for which the block evaluates to true"
|
213 | 198 | fails "Array#partition returns two arrays"
|
214 | 199 | fails "Array#partition does not return subclass instances on Array subclasses"
|
|
217 | 202 | fails "Array#| does not return subclass instances for Array subclasses"
|
218 | 203 | fails "Array#| acts as if using an intermediate hash to collect values"
|
219 | 204 | fails "Array#| tries to convert the passed argument to an Array using #to_ary"
|
220 |
| - fails "Array#| properly handles recursive arrays" |
221 | 205 | fails "Array#| creates an array with elements in order they are first encountered"
|
222 | 206 | fails "Array#| creates an array with no duplicates"
|
223 | 207 | fails "Array#| returns an array of elements that appear in either array (union)"
|
| 208 | + |
| 209 | + # recursive arrays |
| 210 | + fails "Array#join raises an ArgumentError when the Array is recursive" |
| 211 | + fails "Array#uniq! properly handles recursive arrays" |
| 212 | + fails "Array#| properly handles recursive arrays" |
| 213 | + fails "Array#<=> properly handles recursive arrays" |
| 214 | + fails "Array#eql? handles well recursive arrays" |
| 215 | + fails "Array#== handles well recursive arrays" |
| 216 | + fails "Array#flatten raises an ArgumentError on recursive arrays" |
| 217 | + fails "Array#flatten! raises an ArgumentError on recursive arrays" |
| 218 | + fails "Array#partition properly handles recursive arrays" |
| 219 | + fails "Array#& properly handles recursive arrays" |
| 220 | + fails "Array#values_at properly handles recursive arrays" |
| 221 | + fails "Array#hash returns the same hash for equal recursive arrays through hashes" |
| 222 | + fails "Array#hash returns the same hash for equal recursive arrays" |
224 | 223 | end
|
0 commit comments